public async Task <IActionResult> RemoveFromCart(int id)
        {
            // Remove item from the shopping cart
            await _cartCommandService.RemoveCartItem(id);

            // Return the cart json
            var viewModel = await GetCart();

            return(Json(viewModel));
        }
        public async Task <IActionResult> RemoveFromCart(int id, CancellationToken requestAborted)
        {
            _logger.LogInformation("DELETE request for 'api/{cartItemId}'", id);

            // Remove item from the shopping cart
            await _cartCommandService.RemoveCartItem(id, requestAborted);

            // Return the cart json
            var viewModel = await GetCart();

            return(Json(viewModel));
        }