示例#1
0
        public ActionResult Reset()
        {
            var model = new ResetModel()
            {
                Email = "*****@*****.**"
            };

            return View(model);
        }
示例#2
0
        public ActionResult Reset()
        {
            var model = new ResetModel();

            if (User.Identity.IsAuthenticated)
            {
                model.Email = User.Identity.GetUserEmail();
            }

            return View(model);
        }