Esempio n. 1
0
        public async Task <IActionResult> Create(string customerId)
        {
            var cartId = OrderIdGenerator.Generate();

            await appServices.CreateCart(customerId, cartId);

            return(RedirectToAction("Index", "Cart", new { customerId, cartId }));
        }