public MainResultViewModelForRange(RangeClass rangeClass) { RangeClass = rangeClass; m_serviceClient = new FestResultServiceClient(); CompetitionsList = m_serviceClient.GetCompetitions(RangeClass).ToList(); var selectedStarValues = StarredValues; SelectedStarredValue = selectedStarValues.First(); SelectedResultsAfterRange = 5; }
public MainResultViewModel200m() { m_serviceClient = new FestResultServiceClient(); CompetitionsList = m_serviceClient.GetCompetitions200m().ToList(); }