private void DeleteConnection()
        {
            try
            {
                var selectedConnection = SelectedConnection;

                if (selectedConnection == null)
                {
                    return;
                }

                if (MessageBox.Show($"Delete connection '{selectedConnection.Name}'?", "Delete Connection", MessageBoxButton.YesNo) == MessageBoxResult.Yes)
                {
                    Connections.Remove(selectedConnection);

                    SelectedConnection = Connections.FirstOrDefault();
                }
            }
            catch (Exception ex)
            {
                _messageBoxService.Display(ex, "Delete Connection");
            }
        }