public ActionResult Create(RestaurantReviews.Library.Reviews rev) { int restId = Int32.Parse(Request.Form["restId"]); rev.RestaurantId = restId; MethodCalls.AddReviewToDb(rev); return(View("Restaurant/Details")); }