public static List<CouponStatusInfo> AddUpdateCouponStatus(AspxCommonInfo aspxCommonObj, CouponStatusInfo SaveCouponStatusObj)
 {
     try
     {
         List<CouponStatusInfo> lstCouponStat = AspxCouponStatusMgmtProvider.AddUpdateCouponStatus(aspxCommonObj, SaveCouponStatusObj);
         return lstCouponStat;
     }
     catch (Exception e)
     {
         throw e;
     }
 }
 public static List<CouponStatusInfo> AddUpdateCouponStatus(AspxCommonInfo aspxCommonObj, CouponStatusInfo SaveCouponStatusObj)
 {
     try
     {
         List<KeyValuePair<string, object>> parameter = CommonParmBuilder.GetParamSPUC(aspxCommonObj);
         parameter.Add(new KeyValuePair<string, object>("@CouponStatusID", SaveCouponStatusObj.CouponStatusID));
         parameter.Add(new KeyValuePair<string, object>("@CouponStatusName", SaveCouponStatusObj.CouponStatus));
         parameter.Add(new KeyValuePair<string, object>("@IsActive", SaveCouponStatusObj.IsActive));
         SQLHandler sqlH = new SQLHandler();
         List<CouponStatusInfo> lstCouponStat = sqlH.ExecuteAsList<CouponStatusInfo>("[dbo].[usp_Aspx_CouponStatusAddUpdate]", parameter);
         return lstCouponStat;
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Exemplo n.º 3
0
 public static List <CouponStatusInfo> AddUpdateCouponStatus(AspxCommonInfo aspxCommonObj, CouponStatusInfo SaveCouponStatusObj)
 {
     try
     {
         List <CouponStatusInfo> lstCouponStat = AspxCouponStatusMgmtProvider.AddUpdateCouponStatus(aspxCommonObj, SaveCouponStatusObj);
         return(lstCouponStat);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
 public static List <CouponStatusInfo> AddUpdateCouponStatus(AspxCommonInfo aspxCommonObj, CouponStatusInfo SaveCouponStatusObj)
 {
     try
     {
         List <KeyValuePair <string, object> > parameter = CommonParmBuilder.GetParamSPUC(aspxCommonObj);
         parameter.Add(new KeyValuePair <string, object>("@CouponStatusID", SaveCouponStatusObj.CouponStatusID));
         parameter.Add(new KeyValuePair <string, object>("@CouponStatusName", SaveCouponStatusObj.CouponStatus));
         parameter.Add(new KeyValuePair <string, object>("@IsActive", SaveCouponStatusObj.IsActive));
         SQLHandler sqlH = new SQLHandler();
         List <CouponStatusInfo> lstCouponStat = sqlH.ExecuteAsList <CouponStatusInfo>("[dbo].[usp_Aspx_CouponStatusAddUpdate]", parameter);
         return(lstCouponStat);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
 public List<CouponStatusInfo> AddUpdateCouponStatus(AspxCommonInfo aspxCommonObj, CouponStatusInfo SaveCouponStatusObj)
 {
     try
     {
         List<CouponStatusInfo> lstCouponStat = AspxCouponStatusMgmtController.AddUpdateCouponStatus(aspxCommonObj, SaveCouponStatusObj);
         return lstCouponStat;
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }