Exemplo n.º 1
0
        public ActionResult Search(string Text)
        {
            var searchMovies = _movieController.Search(Text);

            TempData["SearchListMovies"] = searchMovies.Result.results;

            return(Json(Url.Action(nameof(SearchResult), "Home")));
        }