Beispiel #1
0
        public ActionResult BooksByTag(int id)
        {
            var topBooks = this.books.GetTagBooks(id).ToList();

            var viewModel = new BooksByAuthorListViewModel
            {
                Books = topBooks
            };

            return(this.View(viewModel));
        }
Beispiel #2
0
        public ActionResult BooksByTag(int id)
        {
            var topBooks = this.books.GetTagBooks(id).ToList();

            var viewModel = new BooksByAuthorListViewModel
            {
                Books = topBooks
            };

            return this.View(viewModel);
        }