示例#1
0
        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));
        }