public int changeUser(int uid, string oldUser, string newUser) { //takes in userID, old username, new username //passes these into an interface function along with userID //returns 0 or 1 on success or fail if (connection.changeUserName(uid, oldUser, newUser)) { return(1); } else { return(0); } }