public IList<Publisher> FindAllByBook(Int32 bookId) { IList<Publisher> items; items = new List<Publisher>(); using (BookMarketDbContext db = new BookMarketDbContext()) { foreach (var entry in db.FindPublishersByBook(bookId)) items.Add(entry); } return items; }