public async Task <ClienteDto> Handle(ObterClienteQuery request, CancellationToken cancellationToken)
        {
            if (request.Id == null || request.Id == Guid.Empty)
            {
                request.AddNotification("ObterClienteQuery.Id", "Id é obrigatório.");
            }

            if (request.Invalid)
            {
                await _mediator.Publish(new DomainNotification
                {
                    Erros = request.Notifications
                }, cancellationToken);

                ClienteDto clienteNull = null;

                return(await Task.FromResult(clienteNull));
            }

            return(_clienteRepository.GetById(request.Id));
        }