Beispiel #1
0
        public ActionResult Editar(int id)
        {
            DropVistas();
            var obj = man.Buscar(id);

            return(View(obj));
        }
        public ActionResult Editar(int id)
        {
            ViewBag.Habitaciones = man.Habitaciones();
            ViewBag.Clientes     = man.Clientes();
            var obj = man.Buscar(id);

            return(View(obj));
        }