public void ConfirmRegistration() { UserDataBase usersDataBase = new UserDataBase(); usersDataBase.Insert(regName, regEmail, regHash_password, regTypeId); RegistrationDataBase registrationDataBase = new RegistrationDataBase(); registrationDataBase.Delete(regName); }
public Admin_sUpdateService(RegistrationDataBase registrationDataBase, UserDataBase userDataBase, FeederDataBase feederDataBase, TagsDataBase tagsDataBase) { this.registrationDataBase = registrationDataBase; this.userDataBase = userDataBase; this.feederDataBase = feederDataBase; this.tagsDataBase = tagsDataBase; checkUpdate = new Thread(CheckUpdate); lastVersionRegistrationQueue = null; lastVersionUsersList = null; lastVersionFeederList = null; lastVersionTagsList = null; selectedFeederId = 0; selectedUserId = 0; checkUpdate.Start(); }
public RegistrationService() { this.registrationDataBase = new RegistrationDataBase(); }