public async Task <IActionResult> Salvar([FromBody] IEnumerable <FechamentoTurmaDisciplinaDto> fechamentoTurma, [FromServices] IComandosFechamentoTurmaDisciplina comandos) => Ok(await comandos.Salvar(fechamentoTurma));
public async Task <IActionResult> Reprocessar(long fechamentoId, [FromServices] IComandosFechamentoTurmaDisciplina comandos) { await comandos.Reprocessar(fechamentoId); return(Ok()); }