private async void FetchSqlAccounts() { if (string.IsNullOrWhiteSpace(View.SqlConnectionString)) { _dialogService.ShowWarning("Empty SQL connection string!"); return; } View.ClearLog(); View.AppendLogRow("Start fetching account from SQL..."); var accounts = await _sqlImporter.FetchAllAccounts(View.SqlConnectionString); if (accounts != null) { View.ShowSqlAccounts(accounts); } View.AppendLogRow($"Found {accounts?.Count ?? 0} accounts"); }