public ActionResult ClassIndex(int classid) { var findclass = HistoryBookManage.FindClassBook(classid); ViewModels.historybk index = new ViewModels.historybk(); index.FindClassBook = findclass; return(View(index)); }
// GET: HistoryBook public ActionResult Index() { var data = HistoryBookManage.FindAllBook().OrderBy(p => p.Book_id); ViewModels.historybk index = new ViewModels.historybk(); index.FindAllBook = data; return(View(index)); }