示例#1
0
 private void cargaAlumno()
 {
     AccionesDeRegistros acciones = new AccionesDeRegistros();
     this.Persona = acciones.obtenerPorId(this.id);
     if(this.Persona.id == ""){
         throw new Exception("El alumno no existe.");
     }
 }
示例#2
0
        private void cargaAlumno()
        {
            AccionesDeRegistros acciones = new AccionesDeRegistros();

            this.Persona = acciones.obtenerPorId(this.id);
            if (this.Persona.id == "")
            {
                throw new Exception("El alumno no existe.");
            }
        }