コード例 #1
0
        public async Task <bool> PlanejamentoDiario([FromQuery] FiltroRelatorioDto request, [FromServices] IRelatorioPlanejamentoDiarioUseCase relatorioUseCase)
        {
            await relatorioUseCase.Executar(request);

            return(true);
        }
コード例 #2
0
 public async Task <IActionResult> PlanejamentoDiario([FromBody] FiltroRelatorioPlanejamentoDiario filtro, [FromServices] IRelatorioPlanejamentoDiarioUseCase relatorioUseCase)
 {
     return(Ok(await relatorioUseCase.Executar(filtro)));
 }