public async Task <IActionResult> Excluir([FromServices] IComandosFechamentoReabertura comandosFechamentoReabertura, [FromBody] long[] ids)
 {
     return(Ok(await comandosFechamentoReabertura.Excluir(ids)));
 }
 public async Task <IActionResult> Salvar([FromServices] IComandosFechamentoReabertura comandosFechamentoReabertura, [FromBody] FechamentoReaberturaPersistenciaDto fechamentoReaberturaPersistenciaDto)
 {
     return(Ok(await comandosFechamentoReabertura.Salvar(fechamentoReaberturaPersistenciaDto)));
 }
 public async Task <IActionResult> Alterar([FromServices] IComandosFechamentoReabertura comandosFechamentoReabertura,
                                           [FromBody] FechamentoReaberturaAlteracaoDto fechamentoReaberturaPersistenciaDto, long id, [FromQuery] bool AlteracaoHierarquicaConfirmacao = false)
 {
     return(Ok(await comandosFechamentoReabertura.Alterar(fechamentoReaberturaPersistenciaDto, id, AlteracaoHierarquicaConfirmacao)));
 }