protected override void OnInitialized() { GameData = GameDataService.GetGameSummary().Result; var seasons = CompetitionService.GetCompetitionsByYear(GameData.CurrentYear).Result.Where(c => c.Type == CompetitionViewModel.SEASON_TYPE).ToList(); if (seasons.Count > 0) { StandingsModel = StandingsService.GetStandings(seasons[0].Id, 1).Result; } else { StandingsModel = null; } DropDownState.OnChange += StateHasChanged; }