Пример #1
0
        /// <inheritdoc/>
        public async Task UpdateItemAsync(Guid userId, int productId, int quantity)
        {
            await InitializeBasketAsync(userId);

            this._logger.LogInformation($"Updating quantity {quantity} of product {productId} in basket for user {userId}");

            await _basketRepository.UpdateItemAsync(userId, productId, quantity);
        }