public async void OnDeleteClicked(object sender, EventArgs args) { adminDb = new AdminDb(); bool accepted = await DisplayAlert("Confirm", "Are you Sure ?", "Yes", "No"); if (accepted) { adminDb.DeleteAdmin(admin); } await Navigation.PushAsync(new ManageAdmins()); }