Esempio n. 1
0
 public int Update_act_saleproduct(SqlSchema smSaleProd, NameValueCollection form)
 {
     try
     {
         return(handler.Update_act_saleproduct(smSaleProd, form));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new SaleException(1, "Update_act_saleproduct", ex);
         Logger.Log(Level.Error, "Update_act_saleproduct", exception);
         throw ex;
     }
 }
Esempio n. 2
0
 public int Delete_act_saleproduct(int id, SqlSchema smSaleProd)
 {
     try
     {
         return(handler.Delete_act_saleproduct(id, smSaleProd));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new SaleException(1, "Delete_act_saleproduct", ex);
         Logger.Log(Level.Error, "Delete_act_saleproduct", exception);
         throw ex;
     }
 }
Esempio n. 3
0
 public DyModel Get_act_salemodule()
 {
     try
     {
         return(handler.Get_act_salemodule());
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new SaleException(1, "Get_act_salemodule", ex);
         Logger.Log(Level.Error, "Get_act_salemodule", exception);
         throw ex;
     }
 }
Esempio n. 4
0
 public DyModel Get_act_saleproduct(string od, int mid)
 {
     try
     {
         return(handler.Get_act_saleproduct(od, mid));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new SaleException(1, "Get_act_saleproduct(string od, int mid)", ex);
         Logger.Log(Level.Error, "Get_act_saleproduct(string od, int mid)", exception);
         throw ex;
     }
 }
Esempio n. 5
0
 public DyModel Get_act_salemodule(SqlSchema smSaleModule, int parentid)
 {
     try
     {
         return(handler.Get_act_salemodule(smSaleModule, parentid));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new SaleException(1, "Get_act_salemodule(SqlSchema smSaleModule, int parentid) ", ex);
         Logger.Log(Level.Error, "Get_act_salemodule(SqlSchema smSaleModule, int parentid)", exception);
         throw ex;
     }
 }