Example #1
0
        public IActionResult Edit(int id)
        {
            //AlunoBLL alunoBll = new AlunoBLL();
            Aluno aluno = alunoBll.GetAlunos().Single(x => x.Id == id);

            return(View(aluno));
        }
Example #2
0
        public IActionResult Index()
        {
            List <Aluno> alunos = _alunoBll.GetAlunos();

            return(View("Lista", alunos));
        }