public bool InsertShareActivityRules(ShareActivityRulesConfig model)
 {
     try
     {
         return(DALShareActivityRules.InsertShareActivityRules(model));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new ShareActivityRulesConfigException(1, "InsertShareActivityRules", ex);
         Logger.Log(Level.Error, exception, "InsertShareActivityRules");
         throw ex;
     }
 }
 public bool DeleteShareActivityRules(int id)
 {
     try
     {
         return(DALShareActivityRules.DeleteShareActivityRules(id));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new ShareActivityRulesConfigException(1, "DeleteShareActivityRules", ex);
         Logger.Log(Level.Error, exception, "DeleteShareActivityRules");
         throw ex;
     }
 }
 public List <ShareActivityRulesConfig> GetShareActivityRulesList(string sqlStr, int pageSize, int pageIndex, out int recordCount)
 {
     try
     {
         return(DALShareActivityRules.GetShareActivityRulesList(sqlStr, pageSize, pageIndex, out recordCount));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new ShareActivityRulesConfigException(1, "GetShareActivityRulesList", ex);
         Logger.Log(Level.Error, exception, "GetShareActivityRulesList");
         throw ex;
     }
 }