예제 #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));
        }