Пример #1
0
        private async Task DeleteBranchAsync()
        {
            await _gitManager.GitDeleteBranchAsync(_repositoryId, _selectedBranch.Id).ConfigureAwait(false);

            Application.Current.Dispatcher.Invoke(delegate
            {
                Branches.Remove(_selectedBranch);
            });
        }