public T_HR_CUSTOMGUERDON GetCustomGuerdonByID(string CustomGuerdonID) { using (CustomGuerdonBLL bll = new CustomGuerdonBLL()) { return bll.GetCustomGuerdonByID(CustomGuerdonID); } }
public List<V_CUSTOMGUERDON> GetCustomGuerdon(string SalaryStandardID) { using (CustomGuerdonBLL bll = new CustomGuerdonBLL()) { return bll.GetCustomGuerdon(SalaryStandardID); } }
public string CustomGuerdonAdd(T_HR_CUSTOMGUERDON entity) { using (CustomGuerdonBLL bll = new CustomGuerdonBLL()) { return bll.CreateCustomGuerdon(entity); } }
public bool CustomGuerdonDelete(string[] CustomGuerdons) { using (CustomGuerdonBLL bll = new CustomGuerdonBLL()) { int rslt = bll.CustomGuerdonDelete(CustomGuerdons); return (rslt > 0); } }
public List<T_HR_CUSTOMGUERDON> GetCustomGuerdonPaging(int pageIndex, int pageSize, string sort, string filterString, string[] paras, ref int pageCount) { using (CustomGuerdonBLL bll = new CustomGuerdonBLL()) { IQueryable<T_HR_CUSTOMGUERDON> q = bll.QueryWithPaging(pageIndex, pageSize, sort, filterString, paras, ref pageCount); return q.Count() > 0 ? q.ToList() : null; } }