public Task <ITwitterResult> DestroyMessageAsync(IDeleteMessageParameters parameters, ITwitterRequest request)
 {
     request.Query.Url        = _messageQueryGenerator.GetDestroyMessageQuery(parameters);
     request.Query.HttpMethod = HttpMethod.DELETE;
     return(_twitterAccessor.ExecuteRequestAsync(request));
 }
        public string DestroyMessage(IMessageDTO messageDTO)
        {
            string query = _messageQueryGenerator.GetDestroyMessageQuery(messageDTO);

            return(_twitterAccessor.ExecuteJsonPOSTQuery(query));
        }
示例#3
0
        // Destroy Message
        public bool DestroyMessage(IEventDTO eventDTO)
        {
            string query = _messageQueryGenerator.GetDestroyMessageQuery(eventDTO);

            return(_twitterAccessor.TryExecuteDELETEQuery(query));
        }