コード例 #1
0
 public ShareActivityProductConfig GetShareActivityProductConfig(int id)
 {
     try
     {
         return(DALShareActivityProductConfig.GetShareActivityProductConfig(id));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new ShareActivityProductConfigException(1, "GetShareActivityProductConfig", ex);
         Logger.Log(Level.Error, exception, "GetShareActivityProductConfig");
         throw ex;
     }
 }
コード例 #2
0
 public bool InsertShareActivityProductConfig(ShareActivityProductConfig model)
 {
     try
     {
         return(DALShareActivityProductConfig.InsertShareActivityProductConfig(model));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new ShareActivityProductConfigException(1, "InsertShareActivityProductConfig", ex);
         Logger.Log(Level.Error, exception, "InsertShareActivityProductConfig");
         throw ex;
     }
 }
コード例 #3
0
 public List <ShareActivityProductConfig> GetShareActivityProductConfigList(ShareActivityProductConfig model, int pageSize, int pageIndex, out int recordCount)
 {
     try
     {
         return(DALShareActivityProductConfig.GetShareActivityProductConfigList(model, pageSize, pageIndex, out recordCount));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new ShareActivityProductConfigException(1, "GetShareActivityProductConfigList", ex);
         Logger.Log(Level.Error, exception, "GetShareActivityProductConfigList");
         throw ex;
     }
 }