Example #1
0
        public List <TweetReponse> GetTweets()
        {
            List <TweetDTO> tweets = _tweetRepository.GetTweets();

            return((List <TweetReponse>)tweets.Select(tweet => new TweetReponse(tweet)));
        }