Пример #1
0
        public void PushBy(IList <string> airingIds)
        {
            var queues = _getQueuesQuery.GetByStatus(true);

            foreach (var deliveryQueue in queues)
            {
                _messagePusher.PushBy(deliveryQueue.Name, deliveryQueue.Query, deliveryQueue.HoursOut, airingIds);
            }
        }
Пример #2
0
 /// <summary>
 /// Retrieves those queues that match the provided
 /// active flag (true/false)
 /// </summary>
 /// <param name="active">if set to <c>true</c> [active].</param>
 /// <returns></returns>
 public List <Model.Queue> GetByStatus(bool active)
 {
     return
         (queueQueryHelper.GetByStatus(active).ToList <DLModel.Queue>()
          .ToBusinessModel <List <DLModel.Queue>, List <BLModel.Queue> >());
 }