private void SaveToStaffNamesTable(IOrderedEnumerable <StaffNames> orderedStaffNames) { _context.AddRange(orderedStaffNames); _context.SaveChanges(); }