public ActionResult Search(string Text) { var searchMovies = _movieController.Search(Text); TempData["SearchListMovies"] = searchMovies.Result.results; return(Json(Url.Action(nameof(SearchResult), "Home"))); }
public ActionResult Search(string Text) { var searchMovies = _movieController.Search(Text); TempData["SearchListMovies"] = searchMovies.Result.results; return(Json(Url.Action(nameof(SearchResult), "Home"))); }