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