// // GET: /Home/ public ActionResult Index() { var db = new BookService(); return View(db.listBooks()); }
public ActionResult Index() { IService service = new BookService(); ICollection<Books> books = service.listBooks(); return View(books); }
// // GET: /Home/ public ActionResult Index() { var db = new BookService(); return View(db.listBooks()); }
public ActionResult Index() { IService service = new BookService(); ICollection<Books> books = service.listBooks(); return View(books); }