Beispiel #1
0
 public bool LendOrReturn(T_OA_LICENSEUSER licenseObj, string action)
 {
     using (LicenseReturnBll licenseReturnBll = new LicenseReturnBll())
     {
         return(licenseReturnBll.LendOrReturn(licenseObj, action));
     }
 }
Beispiel #2
0
 public List <T_OA_LICENSEUSER> GetBorrowAppList(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount, string lendFlag, LoginUserInfo loginUserInfo)
 {
     using (LicenseReturnBll licenseReturnBll = new LicenseReturnBll())
     {
         IQueryable <T_OA_LICENSEUSER> borrowAppList = licenseReturnBll.GetLicenseBorrowAppListQueryWithPaging(pageIndex, pageSize, sort, filterString, paras, ref pageCount, lendFlag, loginUserInfo.userID);
         return(borrowAppList != null?borrowAppList.ToList() : null);
     }
 }
Beispiel #3
0
 public bool LendOrReturn(T_OA_LICENSEUSER licenseObj, string action)
 {
     using (LicenseReturnBll licenseReturnBll = new LicenseReturnBll())
     {
         return licenseReturnBll.LendOrReturn(licenseObj, action);
     }
 }
Beispiel #4
0
 public List<T_OA_LICENSEUSER> GetBorrowAppList(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount, string lendFlag, LoginUserInfo loginUserInfo)
 {
     using (LicenseReturnBll licenseReturnBll = new LicenseReturnBll())
     {
         IQueryable<T_OA_LICENSEUSER> borrowAppList = licenseReturnBll.GetLicenseBorrowAppListQueryWithPaging(pageIndex, pageSize, sort, filterString, paras, ref  pageCount, lendFlag, loginUserInfo.userID);
         return borrowAppList != null ? borrowAppList.ToList() : null;
     }  
 }