Beispiel #1
0
        public BaoYangRecommendServiceConfig GetBaoYangRecommendServiceConfig(int id)
        {
            var result = null as BaoYangRecommendServiceConfig;

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