Example #1
0
        public Task <bool> Handle(IncreaseProductsInStockCommand request, CancellationToken cancellationToken)
        {
            var result = productsRepo.AddProductStock(request.ProductId, request.OrderProductCount);

            return(Task.FromResult(true));
        }