Exemplo n.º 1
0
 /* Método: GetAllAlunos(): IEnumerable<Aluno>
  *
  * Consulta todos os alunos, chamando o método GetAll(): IEnumerable<Aluno>
  * da classe AlunoRepositorio.cs
  *
  */
 public IEnumerable <Aluno> GetAllAlunos()
 {
     return(repositorio.GetAll());
 }
Exemplo n.º 2
0
 public IEnumerable <Aluno> GetAll()
 {
     return(_alunoRepositorio.GetAll());
 }