public int addBlock(string APIKey, string username, string blockedProfileUsername) { if (APIKey == this.APIKey) { User tempUser = new User(); int userID = tempUser.getUserID(username); int blockedUserID = tempUser.getUserID(blockedProfileUsername); BlockedList tempBlock = new BlockedList(); return(tempBlock.addBlockToDB(userID, blockedUserID)); } else { return(0); } }