Пример #1
0
        private List <BLAiring.Airing> GetDeletedAirings(BLQueue.Queue queue, int limit)
        {
            var deletedAirings = new List <BLAiring.Airing>();

            deletedAirings.AddRange(airingService.GetBy(queue.Query, queue.HoursOut, new[] { queue.Name }, true, AiringCollection.DeletedCollection).ToList());
            deletedAirings.AddRange(airingService.GetDeliverToBy(queue.Name, limit, AiringCollection.DeletedCollection).ToList());
            return(deletedAirings.Distinct(new AiringComparer()).ToList());
        }