Example #1
0
        public ActionResult SearchImdbTitle(string key)
        {
            var scrapper = new ImdbScrapper(_movieXPathRepository);
            var movies   = scrapper.SearchMovieByTitle(key);

            return(View(movies));
        }
Example #2
0
 public void SearchImdbMovieByTitle()
 {
     var key      = "Edge of Tomorrow";
     var scrapper = new ImdbScrapper(_xPathRepository);
     var movies   = scrapper.SearchMovieByTitle(key);
 }