예제 #1
0
        public async Task <IActionResult> Index()
        {
            var products = await _productClient.GetAsync(CancellationToken.None);

            shoppingCartViewModel = new ShoppingCartViewModel();
            return(View(products));
        }
예제 #2
0
        public async Task <IActionResult> Index()
        {
            var products = await _productClient.GetAsync(CancellationToken.None);

            return(View(products));
        }