public BaoYangRecommendServiceConfig GetBaoYangRecommendServiceConfig(int id)
 {
     try
     {
         return(DALBaoYangRecommendServiceConfig.GetBaoYangRecommendServiceConfig(id));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new BaoYangRecommendServiceConfigException(1, "GetBaoYangRecommendServiceConfig", ex);
         Logger.Log(Level.Error, "GetBaoYangRecommendServiceConfig", exception);
         throw ex;
     }
 }
 public bool CheckService(BaoYangRecommendServiceConfig model)
 {
     try
     {
         return(DALBaoYangRecommendServiceConfig.CheckService(model));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new BaoYangRecommendServiceConfigException(1, "CheckService", ex);
         Logger.Log(Level.Error, "CheckService", exception);
         throw ex;
     }
 }
 public List <BaoYangRecommendServiceConfig> GetBaoYangRecommendServiceConfigList(string sqlStr, int pageSize, int pageIndex, out int recordCount)
 {
     try
     {
         return(DALBaoYangRecommendServiceConfig.GetBaoYangRecommendServiceConfigList(sqlStr, pageSize, pageIndex, out recordCount));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new BaoYangRecommendServiceConfigException(1, "GetBaoYangRecommendServiceConfigList", ex);
         Logger.Log(Level.Error, "GetBaoYangRecommendServiceConfigList", exception);
         throw ex;
     }
 }