public IActionResult Edit(int id) { //AlunoBLL alunoBll = new AlunoBLL(); Aluno aluno = alunoBll.GetAlunos().Single(x => x.Id == id); return(View(aluno)); }
public IActionResult Index() { List <Aluno> alunos = _alunoBll.GetAlunos(); return(View("Lista", alunos)); }