public ActionResult Chapter(int bookId)
        {
            var task = new ChapterParamModel
            {
                BookId          = bookId,
                BookChapterList = _bookChapterService.GetBookChapters(bookId)
            };

            return(View(task));
        }
Ejemplo n.º 2
0
        public ActionResult Chapter(int bookId)
        {
            var chapters = _bookChapterService.GetBookChapters(bookId);

            ViewBag.bookId = bookId;
            return(View(chapters));
        }