public int updateHIVUnderstanding(UnderstandingHIV UH) { IAdherenceHIVInfectionRepository HIVInfectionRepository = new AdherenceHIVInfectionRepository(); HIVInfectionRepository.updateHIVUnderstanding(UH); return(UH.Id); }
public List <UnderstandingHIV> getHIVUnderstanding(int personId, int patientMasterVisitId) { IAdherenceHIVInfectionRepository HIVInfectionRepository = new AdherenceHIVInfectionRepository(); var HIVInfectionList = HIVInfectionRepository.GetAll().Where(x => x.PatientId == personId && x.PatientMasterVisitId == patientMasterVisitId).OrderBy(x => x.Id); return(HIVInfectionList.ToList()); }