예제 #1
0
        public List <PatientMilestone> getMilestoneAssessed(int milestoneAssessed)
        {
            IMilestonesRepository neonatalRepository = new MilestonesRepository();
            var milestoneList = neonatalRepository.GetAll().Where(x => x.TypeAssessedId == milestoneAssessed);

            return(milestoneList.ToList());
        }
예제 #2
0
        public List <PatientMilestone> getPatientMilestones(int patientId)
        {
            IMilestonesRepository neonatalRepository = new MilestonesRepository();
            var milestonesList = neonatalRepository.GetAll().Where(x => x.PatientId == patientId);

            return(milestonesList.ToList());
        }