Beispiel #1
0
        public ActionResult Index()
        {
            var bookRepository = new BookRepository();

            IEnumerable <Category> model = bookRepository.AllCategories();


            return(View(model));
        }