public async Task <IActionResult> Index() { var actions = new List <Models.Action>(); using (appDB){ ActionRepository repo = new ActionRepository(appDB); actions = await repo.ReadActionsAsync(); } return(View(actions)); }
public async Task <IActionResult> Index() { var actions = new List <Models.Action>(); using (appDB){ ActionRepository repo = new ActionRepository(appDB); actions = await repo.ReadActionsAsync(); } return(View(actions)); }