Example #1
0
 //
 // GET: /Twitter/
 public ActionResult Index(string hashtag)
 {
     var dao = new DAOTwitter();
     var search = dao.Pesquisar(hashtag);
     var agregador = new AgregadorDeTweets();
     var pesquisa = agregador.Agregar(search.Entries.Select(e => e.Title));
     pesquisa = from p in pesquisa
                where p.Palavra.ToLower() != hashtag.ToLower()
                select p;
     return View(pesquisa);
 }
Example #2
0
 private void UmDAODeTwitter()
 {
     _dao = new DAOTwitter();
 }