Пример #1
0
        public async Task AddProductAsync(Guid productId, int quantity, decimal price)
        {
            CheckCartInitialisation();

            _cart = await _client.AddOrIncreaseProductAsync(_cart.Id, new ProductDto { Id = productId, Quantity = quantity, Price = price });
        }