public async void OnDeleteClicked(object sender, EventArgs args) { usersDb = new UsersDb(); bool accepted = await DisplayAlert("Confirm", "Are you Sure ?", "Yes", "No"); if (accepted) { usersDb.DeleteUser(user); } await Navigation.PushAsync(new ManageUsers()); }