private void SelectIssueBoard(IssueBoard selectedIssueBoard) { _issueListViewModel.SelectedIssueBoard = selectedIssueBoard; if (CurrentViewModel != _issueListViewModel) { CurrentViewModel = _issueListViewModel; } }
public async void LoadBoards() { if (DesignerProperties.GetIsInDesignMode( new System.Windows.DependencyObject())) { return; } if (SelectedProject != null) { IssueBoards = new ObservableCollection <IssueBoard>(await _BCFService.GetIssueBoardsAsync(SelectedProject.id)); SelectedIssueBoard = IssueBoards.FirstOrDefault(); } // _issueListViewModel.SelectedIssueBoard = SelectedIssueBoard; }