Пример #1
0
        /// <summary>
        /// 获取保养活动关联配置
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public BaoYangActivitySettingItem GetBaoYangActivitySettingItemById(int id)
        {
            var result = null as BaoYangActivitySettingItem;

            try
            {
                result = DalBaoYangActivitySetting.GetBaoYangActivitySettingItemById(id);
            }
            catch (Exception ex)
            {
                Logger.Error("GetBaoYangActivitySettingItemById", ex);
            }
            return(result);
        }
Пример #2
0
 public BaoYangActivitySettingItem GetBaoYangActivitySettingItemById(int id)
 {
     try
     {
         return(DalBaoYangActivitySetting.GetBaoYangActivitySettingItemById(id));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         Logger.Error("GetBaoYangActivitySettingItem", ex);
         throw ex;
     }
 }