public async Task <IActionResult> Excluir(long[] eventosId, [FromServices] IComandosEvento comandosEvento)
        {
            await comandosEvento.Excluir(eventosId);

            return(Ok());
        }
Esempio n. 2
0
 public IActionResult Excluir(long[] eventosId, [FromServices] IComandosEvento comandosEvento)
 {
     comandosEvento.Excluir(eventosId);
     return(Ok());
 }