public List <Employee> Read() { List <EEmployee> eEmployees = _iDEmployee.List <EEmployee>(a => !a.DateEnded.HasValue); return(Employees(eEmployees)); }
public List <Employee> Read() { List <EEmployee> eEmployees = _iDEmployee.List <EEmployee>(a => true); return(Employees(eEmployees)); }
public List <Employee> List(int companyId) { List <EEmployee> eEmployees = _iDEmployee.List <EEmployee>(a => a.CompanyId == companyId); return(Employees(eEmployees)); }