private void RefreshRating() { VoteResults vr = RatingRepository.GetVoteResults(this.ItemKey); positiveRates = vr.Positive; negativeRates = vr.Negative; }
private ActionResult GetRefreshedRatesHtml(String itemKey) { VoteResults vr = RatingRepository.GetVoteResults(itemKey); return(this.PartialView("RatesPlusMinus", vr)); }