public string HashPassword() { if (Password == null) { throw new ArgumentException("Password is null, cannot hash."); } if (this.HashedPassword == null) { HashedPassword = CryptUtil.HashAppUserPassword(Password); } return(HashedPassword); }
public string HashPassword() { if (Password == null) { throw new ArgumentException("Password is null, cannot hash."); } if (this.HashedPassword == null) { HashedPassword = CryptUtil.HashAppUserPassword(Password); } return(HashedPassword); }