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