public List <Pair> ProfileUserFollow(int userID, int profileUserID, bool stopFollowing) { if (userID > 0) { SueetieUser sueetieFollowingUser = SueetieUsers.GetUser(profileUserID); string result = "You are now following " + sueetieFollowingUser.DisplayName; SueetieFollow sueetieFollow = new SueetieFollow { FollowerUserID = userID, FollowingUserID = profileUserID, ContentIDFollowed = -1 }; if (sueetieFollow.FollowerUserID == sueetieFollow.FollowingUserID) { result = "Sorry, you cannot follow yourself..."; } else { if (!stopFollowing) { int followID = SueetieUsers.FollowUser(sueetieFollow); } else { SueetieUsers.UnFollowUser(sueetieFollow); result = "You are no longer following " + sueetieFollowingUser.DisplayName; } } List <Pair> followResult = new List <Pair>(); followResult.Add(new Pair(stopFollowing, result)); return(followResult); } else { List <Pair> followResult = new List <Pair>(); followResult.Add(new Pair(stopFollowing, "Please login or become a member to follow this person.")); return(followResult); } }