Пример #1
0
        //Detalles
        public ActionResult DetallesPelicula(int id)
        {
            var Detalle = Pelicula_N.GetPelicula(id);

            ViewBag.ListaGenero   = DropDownlistGenero;
            ViewBag.ListaDirector = DropDownlistDirector;
            return(View(Detalle));
        }
Пример #2
0
        //Edit
        public ActionResult EditarPeli(int id)
        {
            var pelibuscada = Pelicula_N.GetPelicula(id);

            ViewBag.ListaGenero   = DropDownlistGenero;
            ViewBag.ListaDirector = DropDownlistDirector;
            ViewBag.protagonistas = pelibuscada.Protagonista;
            ViewBag.sipnosis      = pelibuscada.Sipnosis;
            return(View(pelibuscada));
        }
Пример #3
0
        public ActionResult Detail(int id)
        {
            var DetallePelicula = Pelicula_N.GetPelicula(id);

            return(View(DetallePelicula));
        }
Пример #4
0
        //Delete Peliculas
        public ActionResult EliminarPelicula(int id)
        {
            var Peli = Pelicula_N.GetPelicula(id);

            return(View(Peli));
        }