Пример #1
0
        public async Task <IActionResult> Checkout(Order order)
        {
            //hard code customer id
            var custId = 1;
            await _api.Checkout(custId, order);

            return(RedirectToAction("Menu", "Home"));
        }