//用户主页
 public ActionResult Index()
 {
     //热门书籍
     PagingArgument p = new PagingArgument();
     p.index = 0;
     p.size = 10;
     List<Book> hotBooks;
     using (BookDao dao = new BookDao())
         hotBooks = dao.Find(null, p);
     ViewBag.hotBooks = hotBooks;
     return View();
 }
 //书籍列表
 public ActionResult JBookList(int draw, int start, int length, BookCondition c)
 {
     PagingArgument page = new PagingArgument();
     page.start = start;
     page.size = length;
     List<Book> data = null;
     using (BookDao dao = new BookDao())
         data = dao.Find(c, page);
     DataResponse r = new DataResponse();
     r.draw = draw;
     r.data = data;
     r.recordsFiltered = page.count;
     return Json(r, JsonRequestBehavior.AllowGet);
 }