コード例 #1
0
        public ActionResult registrarDatosEstudiante()
        {
            DatosPersonalesUsuario dpe = new DatosPersonalesUsuario();
            bool rstUPD = dpe.updDatosEstudiantes(Request);

            if (rstUPD)
            {
                ViewBag.visibilidad       = "";
                ViewBag.estadoTransaccion = "alert alert-success";
                ViewBag.mensaje           = Language.es_ES.EST_SMS_REGISTRO_CORRECTO;
            }
            else
            {
                ViewBag.visibilidad       = "";
                ViewBag.estadoTransaccion = "alert alert-danger alert-dismissable";
                ViewBag.mensaje           = Language.es_ES.EST_SMS_REGISTRO_INCORRECTO;
                ViewBag.recomendacion     = Language.es_ES.EST_SMS_CONSULTA_SECRETARIA_CARRERA;
            }

            return(View("DatosPersonalesEstudiante", dpe));
        }
コード例 #2
0
        public ActionResult DatosEstudiantes()
        {
            DatosPersonalesUsuario dpe = new DatosPersonalesUsuario();

            return(View("DatosPersonalesEstudiante", dpe));
        }