예제 #1
0
        public TweetReponse GetTweet(int id)
        {
            TweetDTO tweet = _tweetRepository.GetTweet(id);

            if (tweet == null)
            {
                return(null);
            }
            return(new TweetReponse(tweet));
        }