コード例 #1
0
        private List <Aluno> BuscarAlunos(bool isSeletivo)
        {
            List <Aluno> alunos = new List <Aluno>();

            try
            {
                AlunoDAL alunoDal = new AlunoDAL();
                alunos = alunoDal.ListarAlunos(isSeletivo).ToList();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }

            return(alunos);
        }