public static List <EmployeeEntity> GetEmployeeBasicInfoByBasicConditionWithCompanyAge(string employeeName, EmployeeTypeEnum employeeType, int positionID, int?gradesID, int departmentID, int?CompanyAgeFrom, int?CompanyAgeTo, bool recursionDepartment, int employeeStatus) { List <int> departmentids = DepartmentLogic.GetDepartmentids(departmentID, recursionDepartment); return(EmployeeDA.GetEmployeeBasicInfoByBasicConditionWithCompanyAge(employeeName, (int)employeeType, positionID, gradesID, CompanyAgeFrom, CompanyAgeTo, departmentids, employeeStatus)); }