public List<T_HR_SALARYSYSTEM> GetSalarySystemWithPaging(int pageIndex, int pageSize, string sort, string filterString, string[] paras, ref int pageCount, string userID, string CheckState) { using (SalarySystemBLL bll = new SalarySystemBLL()) { IQueryable<T_HR_SALARYSYSTEM> q = bll.QueryWithPaging(pageIndex, pageSize, sort, filterString, paras, ref pageCount, userID, CheckState); return q.Count() > 0 ? q.ToList() : null; } }
public void SalarySystemUpdate(T_HR_SALARYSYSTEM obj) { using (SalarySystemBLL bll = new SalarySystemBLL()) { bll.SalarySystemUpdate(obj); } }
public int SalarySystemDelete(string[] ids) { using (SalarySystemBLL bll = new SalarySystemBLL()) { return bll.SalarySystemDelete(ids); } }
public T_HR_SALARYSYSTEM GetSalarySystemByID(string ID) { using (SalarySystemBLL bll = new SalarySystemBLL()) { return bll.GetSalarySystemByID(ID); } }