// Destroy Friendship
        public bool DestroyFriendshipWith(IUserIdentifier userDTO)
        {
            if (!_userQueryValidator.CanUserBeIdentified(userDTO))
            {
                return(false);
            }

            string query = _friendshipQueryGenerator.GetDestroyFriendshipWithQuery(userDTO);

            return(_twitterAccessor.TryExecutePOSTQuery(query));
        }
Esempio n. 2
0
        public string DestroyFriendshipWith(IUserIdDTO userDTO)
        {
            string query = _friendshipQueryGenerator.GetDestroyFriendshipWithQuery(userDTO);

            return(_twitterAccessor.ExecuteJsonPOSTQuery(query));
        }
        public string DestroyFriendshipWith(IUserIdentifier user)
        {
            string query = _friendshipQueryGenerator.GetDestroyFriendshipWithQuery(user);

            return(_twitterAccessor.ExecutePOSTQueryReturningJson(query));
        }