Beispiel #1
0
 public async Task <IEnumerable <DictionaryItem> > GetAll()
 {
     using (var session = sessionFactory.CreateForEmployee())
     {
         return(await statusRepository.GetAll(session));
     }
 }
Beispiel #2
0
 public IEnumerable <EmployeeStatus> GetEmployeeStatuses()
 {
     return(EmpStatus_repo.GetAll().OrderByDescending(a => a.EmployeeStatusId));
 }