public bool Delete(ExamenLaboratorio objToProcess) { ExamenLaboratorioDao examenLaboratorioDao = new ExamenLaboratorioDao(); bool flag = examenLaboratorioDao.Delete(objToProcess); this.error = examenLaboratorioDao.Error; return(flag); }
public bool Save(ExamenLaboratorio objEnt) { ExamenLaboratorioDao examenLaboratorioDao = new ExamenLaboratorioDao(); bool flag = objEnt.Id == int.MinValue ? examenLaboratorioDao.Create(objEnt) : examenLaboratorioDao.Update(objEnt); this.error = examenLaboratorioDao.Error; return(flag); }
public ExamenLaboratorio Load(int id) { ExamenLaboratorioDao examenLaboratorioDao = new ExamenLaboratorioDao(); ExamenLaboratorio examenLaboratorio = examenLaboratorioDao.Load(id); this.error = examenLaboratorioDao.Error; return(examenLaboratorio); }
public List <ExamenLaboratorio> GetExamenLaboratorios( string nombre, bool esExterno, bool showAllExterno, bool requiereVenopuncion, bool showAllRequiereVenopuncion, bool requiereConsentimiento, bool showAllRequiereConsentimiento, bool activo, bool showAllActivo) { ExamenLaboratorioDao examenLaboratorioDao = new ExamenLaboratorioDao(); List <ExamenLaboratorio> examenLaboratorios = examenLaboratorioDao.GetExamenLaboratorios(nombre, esExterno, showAllExterno, requiereVenopuncion, showAllRequiereVenopuncion, requiereConsentimiento, showAllRequiereConsentimiento, activo, showAllActivo); this.error = examenLaboratorioDao.Error; return(examenLaboratorios); }
public DataTable GetList( string nombre, bool esExterno, bool showAllExterno, bool requiereVenopuncion, bool showAllRequiereVenopuncion, bool requiereConsentimiento, bool showAllRequiereConsentimiento, bool activo, bool showAllActivo) { ExamenLaboratorioDao examenLaboratorioDao = new ExamenLaboratorioDao(); DataTable list = examenLaboratorioDao.GetList(nombre, esExterno, showAllExterno, requiereVenopuncion, showAllRequiereVenopuncion, requiereConsentimiento, showAllRequiereConsentimiento, activo, showAllActivo); this.error = examenLaboratorioDao.Error; return(list); }