コード例 #1
0
ファイル: RateInfo.cs プロジェクト: openlab/OGDI-DataLab
        private void RefreshRating()
        {
            VoteResults vr = RatingRepository.GetVoteResults(this.ItemKey);

            positiveRates = vr.Positive;
            negativeRates = vr.Negative;
        }
コード例 #2
0
        private ActionResult GetRefreshedRatesHtml(String itemKey)
        {
            VoteResults vr = RatingRepository.GetVoteResults(itemKey);

            return(this.PartialView("RatesPlusMinus", vr));
        }