public async Task <DetalhesExecucaoRelatorioRespostaDto> Handle(ObterDetalhesRelatorioQuery request, CancellationToken cancellationToken) { return(await execucaoRelatorioService.ObterDetalhes(request.RequisicaoId, request.JSessionId)); }
public async Task <IActionResult> Detalhes([FromServices] IExecucaoRelatorioService execucaoRelatorioService, Guid requestId) { return(Ok(await execucaoRelatorioService.ObterDetalhes(requestId, string.Empty))); }