public bool InsertPointsRulesConfig(PointsRulesConfig model)
 {
     try
     {
         return(DALPointsRulesConfig.InsertPointsRulesConfig(model));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new PointsRulesConfigException(1, "InsertPointsRulesConfig", ex);
         Logger.Log(Level.Error, exception, "InsertPointsRulesConfig");
         throw ex;
     }
 }
 public bool DeletePointsRulesConfig(int id)
 {
     try
     {
         return(DALPointsRulesConfig.DeletePointsRulesConfig(id));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new PointsRulesConfigException(1, "DeletePointsRulesConfig", ex);
         Logger.Log(Level.Error, exception, "DeletePointsRulesConfig");
         throw ex;
     }
 }
 public List <PointsRulesConfig> GetPointsRulesConfigList(string sqlStr, int pageSize, int pageIndex, out int recordCount)
 {
     try
     {
         return(DALPointsRulesConfig.GetPointsRulesConfigList(sqlStr, pageSize, pageIndex, out recordCount));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new PointsRulesConfigException(1, "GetPointsRulesConfigList", ex);
         Logger.Log(Level.Error, exception, "GetPointsRulesConfigList");
         throw ex;
     }
 }