public ActionResult AddReview(int id, Review newReview) { //var item = restaurant ; //return this.RedirectToAction("Create", "Review", new { id = item.ID }); restaurant.AddNewReview(id, newReview); return(View()); }
public ActionResult AddReview(int id, Review newReview) { //var item = restaurant ; //return this.RedirectToAction("Create", "Review", new { id = item.ID }); restaurant.AddNewReview(id, newReview); return(View()); }