public void OnSaveClicked(object sender, EventArgs args) { usersDb = new UsersDb(); user.Username = txtUserName.Text; user.Email = txtEmail.Text; user.Password = txtPassword.Text; user.ConfirmPassword = txtConfirmPassword.Text; usersDb.EditUser(user); Navigation.PushAsync(new ManageUsers()); }