Exemplo n.º 1
0
 /// <summary>
 /// 教材显示列表
 /// </summary>
 public ActionResult BookList()
 {
     StuffBookListViewData viewData = new StuffBookListViewData();
     viewData.Books = (from b in CQGJ.Book
                          select b).ToList();
     return View("BookList", viewData);
 }
Exemplo n.º 2
0
 /// <summary>
 /// 教材显示列表
 /// </summary>
 public void BookList()
 {
     StuffBookListViewData viewData = new StuffBookListViewData();
     viewData.Books = (from b in CQGJ.Book
                          select b).ToList();
     RenderView("BookList", viewData);
 }