public ActionResult Titles(string term, string maxResults)
        {
            NetflixProvider provider = new NetflixProvider();
            var response = provider.SearchTitles(term, maxResults);

            NetflixParser parser = new NetflixParser();
            var model = parser.ParseTitleSearch(response);

            return View(new MovieGridModel() { Movies = model, MaxResults = maxResults });
        }
        public JsonResult GetTitles(string term, string maxResults)
        {
            NetflixProvider provider = new NetflixProvider();
            var response = provider.SearchTitles(term, maxResults);

            NetflixParser parser = new NetflixParser();
            var model = parser.ParseTitleSearch(response);

            return Json(model);
        }