Example #1
0
 public IndexModel(IBooksLogic _methods, IHostingEnvironment _env)
 {
     methods = _methods;
     env     = _env;
     Library = methods.GetAllBooks();
 }
 public BooksController(IBooksLogic booksLogic)
 {
     _booksLogic = booksLogic;
 }