public bool Put(PsswordUpdate update) { ManageSQLConnection manageSQLConnection = new ManageSQLConnection(); string Querystring = string.Empty; Querystring = "UPDATE profiles SET userpwd = '" + update.Pswd + "' WHERE userid = '" + update.UserId + "';"; return(manageSQLConnection.UpdateValuesByQuery(Querystring)); }