Example #1
0
        public async Task <ActionResult> GetDataFull(string term)
        {
            var full = await trendService.GetFullResultsForTermAsync(term)
                       .ConfigureAwait(false);

            return(Ok(full));
        }
Example #2
0
        public async Task <ActionResult> GetDataFull(string term, [FromQuery] bool allWords)
        {
            term = WebUtility.UrlDecode(term);

            term = SearchTermHelper.MakeSafeWordSearch(term, allWords);

            var full = await trendService.GetFullResultsForTermAsync(term);

            return(Ok(full));
        }