private void EncryptPassword(ref IUser user) { IEncryptionHandler encrypter = new EncryptionHandler(); user.Password = encrypter.EncryptPassword(user.Password); }