示例#1
0
        public ActionResult Edit(int id)
        {
            Film film = DB.Films.Find(id);

            ViewBag.SelectedActors = film.ActorListItems();
            ViewBag.Actors         = DB.ActorListItems();
            return(View(film.ToFilmView()));
        }