public void ConfirmRegistration() { UserDataBase usersDataBase = new UserDataBase(); usersDataBase.Insert(regName, regEmail, regHash_password, regTypeId); RegistrationDataBase registrationDataBase = new RegistrationDataBase(); registrationDataBase.Delete(regName); }