예제 #1
0
        public ActionResult Editar(General.Director cine)
        {
            //para cargar la data
            bool exito = DADirector.ActualizarDirector(cine);

            return(RedirectToAction("Index"));
        }
예제 #2
0
        public ActionResult Registro(General.Director director)
        {
            //para cargar la data
            bool exito = DADirector.RegistrarDirector(director);

            return(RedirectToAction("Index"));
        }
예제 #3
0
 public ActionResult Editar(int ID)
 {
     General.Director empresa = DADirector.ListadoDirector().FirstOrDefault();
     return(View(empresa));
 }