Beispiel #1
0
 public Estudiante GetEstudiante(String idEstudiante, int dos)
 {
     Estudiante e = new Estudiante();
     e.Id = "S10390";
     e.Nombre = "Luis";
     e.ApellidoPaterno = "Montané";
     e.ApellidoMaterno = "Jiménez";
     e.Edad = 27;
     return e;
 }
Beispiel #2
0
        public Estudiante[] GetEstudiantes()
        {
            Estudiante e = new Estudiante();
            e.Id = "S10390";
            e.Nombre = "Luis";
            e.ApellidoPaterno = "Montané";
            e.ApellidoMaterno = "Jiménez";
            e.Edad = 27;

            Estudiante e1 = new Estudiante();
            e1.Id = "S10391";
            e1.Nombre = "Hugo";
            e1.ApellidoPaterno = "Montané";
            e1.ApellidoMaterno = "Jiménez";
            e1.Edad = 27;

            List<Estudiante> estudiantes = new List<Estudiante>();
            estudiantes.Add(e);
            estudiantes.Add(e1);
            return estudiantes.ToArray<Estudiante>();
        }