public Publisher FindByName(string name) { using (BookMarketDbContext db = new BookMarketDbContext()) { var items = db.FindPublisherByName(name); var item = items.FirstOrDefault<Publisher>(); return item; } }