Example #1
0
 public T_HR_CUSTOMGUERDON GetCustomGuerdonByID(string CustomGuerdonID)
 {
     using (CustomGuerdonBLL bll = new CustomGuerdonBLL())
     {
         return bll.GetCustomGuerdonByID(CustomGuerdonID);
     }
 }
Example #2
0
 public List<V_CUSTOMGUERDON> GetCustomGuerdon(string SalaryStandardID)
 {
     using (CustomGuerdonBLL bll = new CustomGuerdonBLL())
     {
         return bll.GetCustomGuerdon(SalaryStandardID);
     }
 }
Example #3
0
 public string CustomGuerdonAdd(T_HR_CUSTOMGUERDON entity)
 {
     using (CustomGuerdonBLL bll = new CustomGuerdonBLL())
     {
         return bll.CreateCustomGuerdon(entity);
     }
 }
Example #4
0
 public bool CustomGuerdonDelete(string[] CustomGuerdons)
 {
     using (CustomGuerdonBLL bll = new CustomGuerdonBLL())
     {
         int rslt = bll.CustomGuerdonDelete(CustomGuerdons);
         return (rslt > 0);
     }
 }
Example #5
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;
     }
 }