public List<T_HR_IMPORTSETDETAIL> GetImportSetDetailByMasterID(string masterID) { using (ImportSetDetailBLL bll = new ImportSetDetailBLL()) { return bll.GetImportSetDetailByMasterID(masterID); } }
public List<T_HR_IMPORTSETDETAIL> ImportSetDetailPaging(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount, string userID) { using (ImportSetDetailBLL bll = new ImportSetDetailBLL()) { IQueryable<T_HR_IMPORTSETDETAIL> q = bll.ImportSetDetailPaging(pageIndex, pageSize, sort, filterString, paras, ref pageCount, userID); return q.Count() > 0 ? q.ToList() : null; } }