public static Password PasswordModelToPassword(PasswordModel password) { Password convertedPassword = new Password { PasswordHash = password.PasswordHash, Salt = password.Salt }; return(convertedPassword); }
private static PasswordModel PasswordToPasswordModel(Password password) { PasswordModel convertedPassword = new PasswordModel { PasswordHash = password.PasswordHash, Salt = password.Salt }; return(convertedPassword); }