Пример #1
0
        public ActionResult Registrar5(int cod_act, int cod_ing)
        {
            if (ModelState.IsValid)
            {
                UsuarioManager usuarioManager = new UsuarioManager();

                InformacionUsuario infoUsu = (InformacionUsuario)Session["infoUsu"];
                infoUsu.cod_act = cod_act;
                infoUsu.cod_ing = cod_ing;
                Session["infoUsu"] = infoUsu;

                usuarioManager.RegistrarInfoUsu(infoUsu);

                ViewBag.tallaRangos = new SelectList(usuarioManager.listarTallaRangos(), "cod_talla_ran", "desc_talla_ran");
                ViewBag.rasgos = usuarioManager.ListarRasgos();
            }

            return View();
        }