public Boletin ReadBy(Boletin entity) { BoletinDAC asistenciaDAC = new BoletinDAC(); Boletin result = null; PersonaComponent personaComponent = new PersonaComponent(); result = asistenciaDAC.ReadBy(entity); return(result); }
public Boletin ReadBy(int id) { BoletinDAC asistenciaDAC = new BoletinDAC(); Boletin result = null; AlumnoComponent personaComponent = new AlumnoComponent(); result = asistenciaDAC.ReadBy(id); result.persona = personaComponent.ReadBy(result.persona.Id); return(result); }