Beispiel #1
0
        public List <Examination> GetExaminationsByPatient(string patientJmbg)
        {
            List <Examination> examinations = _scheduledExaminationRepository.GetExaminationsByPatient(patientJmbg);

            if (examinations == null)
            {
                throw new NotFoundException("There is no patients examinations in database.");
            }
            return(examinations);
        }