private async Task GetAndSetTeams() { if (SelectedProject != null) { var teams = await _vsService.GetTeams(SelectedProject); if (teams != null && teams.Any()) { Teams = new ObservableCollection <Team>(teams); SelectedTeam = Teams.FirstOrDefault(team => team.Name == "Team ST") ?? Teams.First(); // hehe } else { Teams = null; SelectedTeam = null; } } else { Teams = null; SelectedTeam = null; } }