Esempio n. 1
0
        public async Task <IActionResult> AddItem([FromRoute] int TicketId)
        {
            await cartService.AddItemToCartAsync(TicketId, userId);

            return(RedirectToAction("Cart"));
        }