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