private ICollection <Publisher> GetPublishersFromIds(ICollection <int> publisherIds) { var pipeline = new Pipeline <Publisher>(); pipeline.Register(_filterFactory.MakePublishersForIdsFilter(publisherIds)); List <Publisher> results = UnitOfWork.Publishers.Find(pipeline).ToList(); if (results.Count != publisherIds.Count) { throw new EntityNotFoundException(typeof(Publisher)); } return(results); }