virtual public bool setValue(string gValue, int UserId) { if (!validation(gValue)) { return(false); } UserDatabaseController udb = new UserDatabaseController(); udb.SetFieldValue(UserId, this, gValue); return(true); }
override public bool setValue(string gValue, int UserId) { if (!validation(gValue)) { return(false); } UserDatabaseController udb = new UserDatabaseController(); PasswordHasher Hasher = new PasswordHasher(); udb.SetFieldValue(UserId, this, Hasher.HashPassword(gValue)); return(true); }