public async Task LoadWorkItems() { IsBusy = true; _settings = await _settingsRepository.GetSettingsAsync(); if (_settings.WorkItemStatuses.Any(s => s.Checked) && _settings.WorkItemTypes.Any(s => s.Checked)) { IsConfigured = true; await _workItemRepository.GetWorkItemsAsync(WorkItems, _settings); } if (!_settings.Columns.Any()) { await _workItemRepository.GetColumnsAsync(_settings.Columns); } RaisePropertyChanged("ShowIdColumn"); RaisePropertyChanged("ShowWITColumn"); RaisePropertyChanged("ShowTitleColumn"); RaisePropertyChanged("ShowStateColumn"); RaisePropertyChanged("ShowAssignedToColumn"); IsBusy = false; }
private async Task LoadColumnDefaults() { IsBusy = true; await _workItemRepository.GetColumnsAsync(Columns); IsBusy = false; }