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