Пример #1
0
        public ActionResult Index()
        {
            ViewBag.Title = "Home Page";

            var apiProxy = new ApiProxy("http://localhost:51153/");

            ViewBag.Restaurant = await apiProxy.GetCourseRestaurantAsync(1);

            return(View());
        }