var shiftTask = await dbContext.Shifts
.Include(x => x.Resource)
.Include(x => x.Function)
.Include(x => x.CancelledByUser)
.Include(x => x.FinishedByUser)
.Include(x => x.CurrentLocation)
.Include(x => x.DefaultLocation)
.AsNoTracking()
.AsSplitQuery()
.FirstOrDefaultAsync(wt => wt.Identity == identity, context.RequestAborted)
.ConfigureAwait(false);
var shiftTask = await dbContext.Shifts
.Include(x => x.Resource)
.Include(x => x.Function)
.Include(x => x.CancelledByUser)
.Include(x => x.FinishedByUser)
.Include(x => x.CurrentLocation)
.Include(x => x.DefaultLocation)
.AsNoTracking()
.AsSplitQuery()
.FirstOrDefaultAsync(wt => wt.Identity == identity, context.RequestAborted)
.ConfigureAwait(false);