Exemple #1
0
 public bool InsertBaoYangActivitySettingItem(BaoYangActivitySettingItem model, string actId)
 {
     try
     {
         if (DalBaoYangActivitySetting.InsertBaoYangActivitySettingItem(model))
         {
             using (var client = new CacheClient())
             {
                 client.UpdateBaoYangActivityAsync(actId);
             }
             return(true);
         }
         else
         {
             return(false);
         }
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         Logger.Error("InsertBaoYangActivitySettingItem", ex);
         throw ex;
     }
 }