public async Task <ProductToCardResponse> Handle(CreateProductToCardCommand request, CancellationToken cancellationToken)
        {
            if (StockControl.HasProductStockEnough(request.ProductID, request.Quantity))
            {
                var card = await _cardRepository.AddProductToCardAsync(request.CustomerID, request.ProductID, request.Quantity);

                return(_cardMapper.MapCardToCardResponse(card));
            }
            else
            {
                throw new Exception("Ürün stokta bulunmuyor");
            }
        }