public List<T_HR_EMPLOYEEEVECTIONRECORD> EmployeeEvectionRecordPaging(string strOwnerID, string strEmployeeID, string strDateFrom, string strDateTo, string strSortKey, int pageIndex, int pageSize, ref int pageCount) { using (EmployeeEvectionRecordBLL bll = new EmployeeEvectionRecordBLL()) { var ents = bll.EmployeeEvectionRecordPaging(strOwnerID, strEmployeeID, strDateFrom, strDateTo, strSortKey, pageIndex, pageSize, ref pageCount); if (ents == null) { return null; } return ents.ToList(); } }