Exemplo n.º 1
0
        public int updateHIVUnderstanding(UnderstandingHIV UH)
        {
            IAdherenceHIVInfectionRepository HIVInfectionRepository = new AdherenceHIVInfectionRepository();

            HIVInfectionRepository.updateHIVUnderstanding(UH);
            return(UH.Id);
        }
Exemplo n.º 2
0
        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());
        }