Beispiel #1
0
        public ActionResult Index()
        {
            var url     = ConfigurationManager.AppSettings["HackerNewsAPI"];
            var request = new HackerNewsAPI(new Uri(url));
            var data    = request.GetAllBestStoriesInfo();

            return(View(data));
        }