//Display restaurants of our network in the selected city public ActionResult Restaurants(int id) { ViewBag.username = HttpContext.Session.GetString("username"); ViewBag.userType = HttpContext.Session.GetInt32("userType"); RestaurantManager rManager = new RestaurantManager(Configuration); return(View(rManager.GetRestaurantsOfCity(id))); }