https://stackoverflow.com/questions/38475290/linq-to-entities-datetime-compare/38475344
return context.Events
.Any(x => x.UserId == id && x.Date > date
&& System.Data.Entity.DbFunctions.DiffDays(x.Date, date) < 1
&& x.Type == EventType.StartWork);
https://stackoverflow.com/questions/44194877/how-to-bulk-update-records-in-entity-framework
Improve Performance Tests
https://stackoverflow.com/questions/5940225/fastest-way-of-inserting-in-entity-framework
Entity Framework .AsNoTracking() – why & how (EF and EF Core)
https://agirlamonggeeks.com/2019/05/06/entity-framework-asnotracking-why-how-ef-and-ef-core/