public virtual async Task <IActionResult> RetrieveTweets()
        {
            var twitter = new TwitterCacheWrapperService(TwitterService, Log, Cache, TwitterOptions);
            var result  = await twitter.RetrieveCachedTweetsAsync();

            return(result.IsSuccessful ? new JsonResult(result.Tweets) : new JsonResult(Globals.JsonErrorMessage));
        }
        public async Task <IViewComponentResult> InvokeAsync()
        {
            //TwitterOptions.Count = numberToShow;
            var twitter = new TwitterCacheWrapperService(TwitterService, Log, Cache, TwitterOptions);
            var result  = await twitter.RetrieveCachedTweetsAsync();

            return(View("Default", result));
        }