public JsonResult AddRating(int bookid, int rating) { return(Json(BookModel.AddRating(bookid, rating), JsonRequestBehavior.AllowGet)); }