Пример #1
0
        // GET: /<controller>/
        public IActionResult Index()
        {
            int maxEmbeddedDetailWidth = 100;

            List <Tweet> tweets = _tweetRepository.GetLatestTweetsForScreenName(numberOfTweets: 10, screenName: "salesforce", oembedMaxWidthConstraint: maxEmbeddedDetailWidth);

            return(View(tweets));
        }