public ActionResult GetTweets() { ActionState actionState = new ActionState(); TwitterController twitterController = new TwitterController(); List<TwitterEntity> twitterEntity = new List<TwitterEntity>(); twitterEntity = twitterController.GetTweets(actionState); ViewData[CommonConstants.ActionState] = actionState; return View(twitterEntity); }
public ActionResult GetLastMonthStatistics() { ActionState actionState = new ActionState(); TwitterController twitterController = new TwitterController(); List<UserStatistics> userStat = new List<UserStatistics>(); userStat = twitterController.GetLastMonthStatistics(actionState); ViewData[CommonConstants.ActionState] = actionState; return View(userStat); }