public ActionResult Index() { IList <AlunoVM> alunos; using (var _ctx = new AlunoRepositorio()) { alunos = _ctx.GetAlunos(); } return(View(alunos)); }
public ActionResult Index() { IList <AlunoVM> alunos; using (var _ctx = new AlunoRepositorio()) { alunos = _ctx.GetAlunos(); } return(View(alunos)); }