예제 #1
0
        public ActionResult UpdateTweets()
        {
            MongoDBManager mm = new MongoDBManager();

            mm.InsertNewTweets();

            return(View("ShowTweets", mm.GetAllTweets()));
        }
예제 #2
0
        public ActionResult ShowTweets()
        {
            MongoDBManager mm = new MongoDBManager();

            return(View("ShowTweets", mm.GetAllTweets()));
        }