private bool changeUserPassword() { string GUID = Request.QueryString["uid"]; string Salt; string Hash = HashingAndSalting.createSaltedHash(txtNewPassword.Text, out Salt); User user = new User(GUID, txtNewPassword.Text, Salt, Hash); ECommerceBusiness ecb = new ECommerceBusiness { UserObj = user }; return(ecb.IsPasswordChanged()); }