示例#1
0
        public async Task <ApiResponse <ShoppingProductDto> > Handle(GetTotalShoppingProductQuery request, CancellationToken cancellationToken)
        {
            var result = await _movementService.GetTotalShoppingProduct(request.Id);

            var shoppingProduct = _mapper.Map <ShoppingProductDto>(result);

            return(new ApiResponse <ShoppingProductDto>(shoppingProduct));
        }