public ActionResult Index(Review model) { try { desi.AddReview(model); return(RedirectToAction("Index")); } catch (Exception ex) { return(RedirectToAction("Index", new { Error = ex.Message })); } }
public bool AddReview(Review movieReview) { return(_repo.AddReview(movieReview)); }