コード例 #1
0
        public ActionResult EditarPassword(string passwordTxt)
        {
            try
            {
                int    id     = Int32.Parse(Session["UsuarioID"].ToString());
                string nombre = Session["Nombre"].ToString();
                string email  = Session["Email"].ToString();
                bool   status = userLogic.EditarPassword(id, nombre, email, passwordTxt);
            }
            catch (Exception e)
            {
            }

            return(RedirectToAction("Perfil"));
        }