Exemple #1
0
 public void AreaCityDelete(string[] IDs)
 {
     using (AreaAllowanceBLL bll = new AreaAllowanceBLL())
     {
         bll.AreaCityDelete(IDs);
     }
 }
Exemple #2
0
        public List<T_HR_AREACITY> GetAreaCityWithPaging(int pageIndex, int pageSize, string sort, string filterString, string[] paras, ref int pageCount)
        {
            using (AreaAllowanceBLL bll = new AreaAllowanceBLL())
            {

                IQueryable<T_HR_AREACITY> q = bll.QueryCityWithPaging(pageIndex, pageSize, sort, filterString, paras, ref  pageCount);
                return q.Count() > 0 ? q.ToList() : null;
            }
        }
Exemple #3
0
 public bool AreaCityByCategoryDelete(string CategoryID)
 {
     using (AreaAllowanceBLL bll = new AreaAllowanceBLL())
     {
         return bll.AreaCityByCategoryDelete(CategoryID);
     }
 }
Exemple #4
0
 public string AreaCityLotsofAdd(List<T_HR_AREACITY> objs)
 {
     using (AreaAllowanceBLL bll = new AreaAllowanceBLL())
     {
         return bll.AreaCityLotsofAdd(objs);
     }
 }
Exemple #5
0
        public void AreaCityAdd(T_HR_AREACITY obj)
        {
            using (AreaAllowanceBLL bll = new AreaAllowanceBLL())
            {
                bll.AreaCityAdd(obj);

            }
        }
Exemple #6
0
 public Dictionary<string, string> AreaCityCheck(List<T_HR_AREACITY> objs)
 {
     using (AreaAllowanceBLL bll = new AreaAllowanceBLL())
     {
         return bll.AreaCityCheck(objs);
     }
 }
Exemple #7
0
 public List<T_HR_AREACITY> GetAreaCityByCategory(string categoryID)
 {
     using (AreaAllowanceBLL bll = new AreaAllowanceBLL())
     {
         return bll.GetAreaCityByCategory(categoryID);
     }
 }
Exemple #8
0
 public T_HR_AREAALLOWANCE GetAreaAllowanceByID(string ID)
 {
     using (AreaAllowanceBLL bll = new AreaAllowanceBLL())
     {
         return bll.GetAreaAllowanceByID(ID);
     }
 }
Exemple #9
0
 public bool AreaAllowanceDelete(string[] IDs)
 {
     using (AreaAllowanceBLL bll = new AreaAllowanceBLL())
     {
         int rslt = bll.AreaAllowanceDelete(IDs);
         return (rslt > 0);
     }
 }
Exemple #10
0
 public void AreaAllowance(List<T_HR_AREAALLOWANCE> objs)
 {
     using (AreaAllowanceBLL bll = new AreaAllowanceBLL())
     {
         bll.AreaAllowance(objs);
     }
 }
Exemple #11
0
 public void AreaAllowanceUpdate(T_HR_AREAALLOWANCE obj)
 {
     using (AreaAllowanceBLL bll = new AreaAllowanceBLL())
     {
         bll.AreaAllowanceUpdate(obj);
     }
 }