Ejemplo n.º 1
0
        private Tweet TweetToSave(Tweet post)
        {
            Tweet postCopy = (Tweet)post.Clone();

            if (Users.ContainsKey(postCopy.UserIdStr))
            {
                postCopy.User = Users[postCopy.UserIdStr];
            }
            return(postCopy);
        }