public async Task<List<string>> CompareTerms(CompareTermsModel model)
        {
            // Get tweets of the term
            var twitterSearcher = new TwitterSearcher();
            var results = new List<string>();
            foreach(var term in model.Terms)
            {
                var result = await this.StudyTermAsync(new StudyTermModel { Term = term });
                results.Add(result);
            }

            return results;
        }
Example #2
0
        public async Task <List <string> > CompareTerms(CompareTermsModel model)
        {
            // Get tweets of the term
            var twitterSearcher = new TwitterSearcher();
            var results         = new List <string>();

            foreach (var term in model.Terms)
            {
                var result = await this.StudyTermAsync(new StudyTermModel { Term = term });

                results.Add(result);
            }

            return(results);
        }