Exemplo n.º 1
0
        public async Task <IActionResult> Post([FromBody] BasketItem basketItem)
        {
            await _iBasketService.AddItemIntoBasketAsync(basketItem);

            return(Created($"ShoppingCart", basketItem));
        }