コード例 #1
0
        public async Task <IActionResult> Excluir(long[] eventosId, [FromServices] IComandosEvento comandosEvento)
        {
            await comandosEvento.Excluir(eventosId);

            return(Ok());
        }
コード例 #2
0
 public IActionResult Excluir(long[] eventosId, [FromServices] IComandosEvento comandosEvento)
 {
     comandosEvento.Excluir(eventosId);
     return(Ok());
 }