public async Task <IActionResult> ManageActors(MovieManageActorsViewModel model)
        {
            if (this.ModelState.IsValid)
            {
                var movie = await this.movieService.ManageActorAsync(model.MovieName, model.ActorName);

                return(this.RedirectToAction("Details", "Movie", new { id = movie.Name }));
            }

            return(this.View(model));
        }
        public IActionResult ManageActors(string name)
        {
            if (this.ModelState.IsValid)
            {
                var model = new MovieManageActorsViewModel();
                model.MovieName = name;

                return(this.View(model));
            }

            return(this.View());
        }