private void Ratalgo_DivergentRatings2(object sender, DivergentRatings e) { CheckCorrect = new List <IRating>(); foreach (Rating rating in e.Ratings) { CheckCorrect.Add(rating); vidID = e.VidID; } }
private void OnDivergentRatings(object sender, DivergentRatings e) { videoRepo.UpdateVideoFinished(e.VidID); foreach (IRating r in e.Ratings.Where(x => x.IsPADDivergent)) { ratingRepo.UpdatePadDivergent(r); } foreach (IRating r in e.Ratings.Where(x => x.IsIABDivergent)) { ratingRepo.UpdateIABDivergent(r); } }
private void Ratalgo_DivergentRatings(object sender, DivergentRatings e) { }