Esempio n. 1
0
        public bool UpdateAluno(AlunoCobolDTO aluno)
        {
            var alunoCobol = this._Alunos.Where(a => a.Id == aluno.Id).First();

            alunoCobol = aluno;
            //persist
            return(true);
        }
Esempio n. 2
0
 public bool AddAluno(AlunoCobolDTO aluno)
 {
     this._Alunos.Add(aluno);
     return(true);
 }