public double GetTotalRating(int photoId) { double total = votingService.GetRatingForPhoto(photoId); return(Math.Round(total, 1)); }