private async void button1_Click(object sender, EventArgs e) { bool result = await repo.ConnectionTest(); MessageBox.Show(result.ToString()); }