Example #1
0
        public virtual ApiRetweetClientRequestModel MapClientResponseToRequest(
            ApiRetweetClientResponseModel response)
        {
            var request = new ApiRetweetClientRequestModel();

            request.SetProperties(
                response.Date,
                response.RetwitterUserId,
                response.Time,
                response.TweetTweetId);
            return(request);
        }
Example #2
0
        public virtual ApiRetweetClientResponseModel MapClientRequestToResponse(
            int id,
            ApiRetweetClientRequestModel request)
        {
            var response = new ApiRetweetClientResponseModel();

            response.SetProperties(id,
                                   request.Date,
                                   request.RetwitterUserId,
                                   request.Time,
                                   request.TweetTweetId);
            return(response);
        }