Example #1
0
        public ViewResult New()
        {
            var viewModel = new MovieFormViewModel
            {
                Genres = _movies.GetGenres()
            };

            return(View("MovieForm", viewModel));
        }