public ActionResult Index(int id) { Restaurant r = applicationServices.GetRestaurantById(id); ViewBag.name = r.Name; ViewBag.iD = r.RestaurantId; return(View(r.Reviews)); }
public ActionResult Details(int id) { return(View(applicationServices.GetRestaurantById(id))); }