public override IDList GetPublishQueue(DateTime @from, DateTime to, CallContext context) { if (this.publishQueue.Value == null) { return new IDList(); } return IDList.Build( this.publishQueue.Value .Where(i => i.Date >= @from && i.Date <= to) .Select(i => i.ItemId) .Distinct() .ToArray()); }