public async Task <ActionResult <IEnumerable <SecurityUpdateViewModel> > > GetSecurityUpdates() { IEnumerable <SecurityUpdateViewModel> result = await service.ObterTodos(); return(Ok(result)); }
// GET: SecurityUpdates public async Task <IActionResult> Index() { var result = await service.ObterTodos(); return(View(result)); }