예제 #1
0
        public int GetNumberOfVisitationsForDoctor(int doctorId)
        {
            List <Visitation> visitations = _visitationRepository.GetVisitationsForDoctor(doctorId);
            int size = visitations.Count;

            return(size);
        }
예제 #2
0
        public IEnumerable <Visitation> GetVisitationsForDoctor(int doctorId)
        {
            IEnumerable <Visitation> visitationsForDoctor = _visitationRepository.GetVisitationsForDoctor(doctorId);

            return(visitationsForDoctor);
        }