/// <summary> /// Filter rating for question Id /// </summary> /// <param name="ratingId"></param> private void GetQuestionRatingById(int ratingId) { _leaQuestionReviewAverages = _reviewFacade.GetAllQuestionRatings(_questionId, ratingId); }
/// <summary> /// Get the data from database for questionid /// </summary> private void GetData() { _reviewRatingSummary = _reviewFacade.GetAllReviewRatingSummary(_questionId); _leaQuestionReviewAverages = _reviewFacade.GetAllQuestionRatings(_questionId, 0); }