public void BooksCountTest() { var bookRepository = new EfBookRepository(); var books = bookRepository.Books; Assert.AreEqual(books.Count(), 7); }
public CartController(EfBookRepository repo, IOrderProcessor processor) { _repository = repo; _orderProcessor = processor; }
public NavController(EfBookRepository repo) { _repository = repo; }
public AdminController(EfBookRepository repo) { _repository = repo; }