コード例 #1
0
        /// <summary>
        /// Méthode appelée lors d'une requête Post
        /// </summary>

        public void OnPost()
        {
            Results = new List <ResultModel>();

            Tweets = _tweetsSearch.GetTweets(Tag);

            if (Tweets.Any())
            {
                Results = _textAnalyticsService.Language(Tweets).Result;

                Results = _textAnalyticsService.Sentiment(Results).Result;
            }
        }