Exemplo n.º 1
0
 public void AddQuoteTweet(ApiQuoteTweetClientResponseModel item)
 {
     if (!this.QuoteTweets.Any(x => x.QuoteTweetId == item.QuoteTweetId))
     {
         this.QuoteTweets.Add(item);
     }
 }
        public virtual ApiQuoteTweetClientRequestModel MapClientResponseToRequest(
            ApiQuoteTweetClientResponseModel response)
        {
            var request = new ApiQuoteTweetClientRequestModel();

            request.SetProperties(
                response.Content,
                response.Date,
                response.RetweeterUserId,
                response.SourceTweetId,
                response.Time);
            return(request);
        }