Exemplo n.º 1
0
        public ActionResult AddGenre(MovieModel movieModel, GenreModel genreModel)
        {
            _movieServices = new MovieServices();
            _movieServices.AddGenreForMovie(movieModel.Id, genreModel.Name);

            return(RedirectToAction("ListMovie"));
        }