public List <PatientMilestone> getMilestoneAssessed(int milestoneAssessed) { IMilestonesRepository neonatalRepository = new MilestonesRepository(); var milestoneList = neonatalRepository.GetAll().Where(x => x.TypeAssessedId == milestoneAssessed); return(milestoneList.ToList()); }
public List <PatientMilestone> getPatientMilestones(int patientId) { IMilestonesRepository neonatalRepository = new MilestonesRepository(); var milestonesList = neonatalRepository.GetAll().Where(x => x.PatientId == patientId); return(milestonesList.ToList()); }