示例#1
0
        public Task SetInProgressAsync(IEnumerable <EmployeeScreening> screenings)
        {
            foreach (var screening in screenings.AsParallel())
            {
                screening.NotificationIsInProgress = true;
            }

            return(_context.SaveChangesAsync());
        }