public Task <bool> Handle(ExcluirCarrinhoCommand request, CancellationToken cancellationToken)
        {
            var carrinho = _carrinhoRepository.ObterPorId(request.Id);

            _carrinhoRepository.Remover(carrinho.Id);

            if (Commit())
            {
                _mediator.PublicarEvento(new CarrinhoExcluidoEvent(carrinho.Id));
            }

            return(Task.FromResult(true));
        }