public ActionResult UpdateReview(int id, Review review) { try { _reviewService.UpdateReview(review); return(RedirectToAction("GetReviewByBook", "Review", new { id = review.Book.Id })); } catch { return(View()); } }
public void UpdateReview(Review review) { _dao.UpdateReview(review); }