public async Task <bool> Usuarios([FromQuery] FiltroRelatorioDto request, [FromServices] IRelatorioUsuariosUseCase relatorioUseCase) { await relatorioUseCase.Executar(request); return(true); }
public async Task <IActionResult> Usuarios([FromBody] FiltroRelatorioUsuarios filtro, [FromServices] IRelatorioUsuariosUseCase relatorioUseCase) { return(Ok(await relatorioUseCase.Executar(filtro))); }