예제 #1
0
        public ActionResult Create(FormCollection collection)
        {
            Funciones f = new Funciones();

            try
            {
                foreach (string key in collection)
                {
                    f.ActualizarSilla(Convert.ToInt32(key), true);
                }
                Session["mensaje"] = "Exito!";
                return(RedirectToAction("SelPeliculas"));
            }
            catch
            {
                return(View());
            }
        }