Ejemplo n.º 1
0
        public ActionResult BooksByTag(int id)
        {
            var topBooks = this.books.GetTagBooks(id).ToList();

            var viewModel = new BooksByAuthorListViewModel
            {
                Books = topBooks
            };

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

            var viewModel = new BooksByAuthorListViewModel
            {
                Books = topBooks
            };

            return this.View(viewModel);
        }