Exemple #1
0
        public bool CheckService(BaoYangRecommendServiceConfig model)
        {
            var result = false;

            try
            {
                result = DALBaoYangRecommendServiceConfig.CheckService(model);
            }
            catch (Exception ex)
            {
                Logger.Error("CheckService", ex);
            }
            return(result);
        }
 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;
     }
 }