private async Task DeleteBranchAsync() { await _gitManager.GitDeleteBranchAsync(_repositoryId, _selectedBranch.Id).ConfigureAwait(false); Application.Current.Dispatcher.Invoke(delegate { Branches.Remove(_selectedBranch); }); }
private async Task DeleteBranchAsync() { await _gitManager.GitDeleteBranchAsync(_repositoryId, _selectedBranch.Id).ConfigureAwait(false); Application.Current.Dispatcher.Invoke(delegate { Branches.Remove(_selectedBranch); }); }