Exemplo n.º 1
0
 public static int SetMotivo(Aluno aluno, string motivo)
 {
     Aluno item = listaNotas.First(a => a.RM == aluno.RM);
     try
     {
         item.Motivo = motivo;
         return 1;
     }
     catch (Exception)
     {
         return 0;
     }
 }
Exemplo n.º 2
0
 public void LancarNotas(Aluno aluno)
 {
     listaNotas.Add(aluno);
 }