public void BooksCountTest()
        {
            var bookRepository = new EfBookRepository();
            var books          = bookRepository.Books;

            Assert.AreEqual(books.Count(), 7);
        }
Example #2
0
 public CartController(EfBookRepository repo, IOrderProcessor processor)
 {
     _repository     = repo;
     _orderProcessor = processor;
 }
Example #3
0
 public NavController(EfBookRepository repo)
 {
     _repository = repo;
 }
Example #4
0
 public AdminController(EfBookRepository repo)
 {
     _repository = repo;
 }