Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 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);
 }