Beispiel #1
0
        public ActionResult ResetPassword(int Id)
        {
            if (Id == 0 || Id == null)
            {
                Id = _userManager.GetIdByName(HttpContext.User.Identity.Name.ToString());
            }

            ResetPasswordInputModel resetPasswordInput = _userManager.GetUserForResetPassword(Id);

            return(View(resetPasswordInput));
        }