Ejemplo n.º 1
0
 public int InsertConfigApi(ConfigApi model)
 {
     try
     {
         return(DALConfigApi.InsertConfigApi(model));
     }
     catch (Exception ex)
     {
         var exception = new DownloadAppException(1, "InsertConfigApi", ex);
         Logger.Log(Level.Error, exception, "InsertConfigApi");
         throw ex;
     }
 }
Ejemplo n.º 2
0
 public bool DeleteConfigApi(int id)
 {
     try
     {
         return(DALConfigApi.DeleteConfigApi(id));
     }
     catch (Exception ex)
     {
         var exception = new DownloadAppException(1, "DeleteConfigApi", ex);
         Logger.Log(Level.Error, exception, "DeleteConfigApi");
         throw ex;
     }
 }
Ejemplo n.º 3
0
 public bool InsertConfigCoupon(ConfigCoupon model)
 {
     return(DALConfigApi.InsertConfigCoupon(conn, model));
 }
Ejemplo n.º 4
0
 public bool UpdateConfigCoupon(ConfigCoupon model)
 {
     return(DALConfigApi.UpdateConfigCoupon(conn, model));
 }
Ejemplo n.º 5
0
 public ConfigCoupon GetConfigCoupon()
 {
     return(DALConfigApi.GetConfigCoupon(conn));
 }