常用方法
常用方法
常用方法
常用方法
public ActionResult Index() { var category = "Novel"; var booksByCategory = BookDao.GetBooksByCategory(category); ViewBag.booksByCategory = booksByCategory; var newAddedBooks = BookDao.GetTop10NewAddedBooks(); ViewBag.newAddedBooks = newAddedBooks; return(View()); }