예제 #1
0
 private void UpdateIgnoreQueues(string queueName, IEnumerable <string> ignoreAirings, bool isDeleted = false)
 {
     foreach (var airingId in ignoreAirings)
     {
         if (isDeleted)
         {
             airingService.PushIgnoredQueueTo(airingId, queueName, AiringCollection.DeletedCollection);
         }
         else
         {
             airingService.PushIgnoredQueueTo(airingId, queueName);
         }
     }
 }