Beispiel #1
0
        public ActionResult Index(int id)
        {
            Restaurant r = applicationServices.GetRestaurantById(id);

            ViewBag.name = r.Name;
            ViewBag.iD   = r.RestaurantId;
            return(View(r.Reviews));
        }
Beispiel #2
0
 public ActionResult Details(int id)
 {
     return(View(applicationServices.GetRestaurantById(id)));
 }