private void OpenClassHistory(IClassRatingViewModel classRatingViewModel) { OpenClassHistoryCommand.Execute(classRatingViewModel); }
private void ShowClassRatings(ISimulatorRatingsViewModel simulatorRatingsViewModel, IClassRatingViewModel classRatingViewModel) { IEnumerable <RaceResult> results = _currentRatings.SimulatorsRatings.First(x => x.SimulatorName == simulatorRatingsViewModel.SimulatorName).Results.Where(x => x.ClassName == classRatingViewModel.ClassName); ShowRaceResults(classRatingViewModel.ClassName, results); }