public List<V_EmpLeaveRdInfo> EmployeeLeaveRecordPaged(int pageIndex, int pageSize, string sort, string filterString, List<object> paras, ref int pageCount, string strCheckState, string strOwnerID, string startDate, string recorderDate,string employeeID, string leaveTypeSetID) { using (EmployeeLeaveRecordBLL bll = new EmployeeLeaveRecordBLL()) { var ents = bll.EmployeeLeaveRecordPaged(pageIndex, pageSize, sort, filterString, paras, ref pageCount, strCheckState, strOwnerID, startDate, recorderDate,employeeID,leaveTypeSetID); if (ents == null) { return null; } return ents.ToList(); } }