public async Task <string> Handle(ComandoExcluirCliente request, CancellationToken cancellationToken)
        {
            var cliente = await repositorioCliente.Selecionar(request.Id);

            await repositorioCliente.Excluir(cliente.Id);

            await PublicarNotificacao(cliente, cancellationToken, AcaoNotificacao.Excluido);

            return(await Task.FromResult("Cliente excluido com sucesso"));
        }
        public async Task <IActionResult> Delete(ComandoExcluirCliente comando)
        {
            var result = await mediador.Send(comando);

            return(Ok(result));
        }