Beispiel #1
0
        public IEnumerable <HospitalRating> GetSurveySummary()
        {
            var patientHospitalRatings = _ratingsRepository.GetAll().ToList();
            var hospitalRatings        = _ratingsProcessingService.GetHospitalRatings(patientHospitalRatings);

            return(hospitalRatings);
        }
Beispiel #2
0
 public Task <List <Rating> > GetRatings()
 {
     return(_ratingsRepository.GetAll());
 }