Пример #1
0
        public List <Employee> Read()
        {
            List <EEmployee> eEmployees = _iDEmployee.List <EEmployee>(a => !a.DateEnded.HasValue);

            return(Employees(eEmployees));
        }
Пример #2
0
        public List <Employee> Read()
        {
            List <EEmployee> eEmployees = _iDEmployee.List <EEmployee>(a => true);

            return(Employees(eEmployees));
        }
Пример #3
0
        public List <Employee> List(int companyId)
        {
            List <EEmployee> eEmployees = _iDEmployee.List <EEmployee>(a => a.CompanyId == companyId);

            return(Employees(eEmployees));
        }