App.Web.Areas.Account.Controllers.ChangePasswordController.Index C# (CSharp) Method

Index() public method

public Index ( System.Guid guid ) : System.Web.Mvc.ActionResult
guid System.Guid
return System.Web.Mvc.ActionResult
        public ActionResult Index(Guid? guid)
        {
            if (!guid.HasValue)
            {
                return RedirectToAction("BadLink");
            }
            var user = this.usersService.GetMembershipByVerificationToken(guid.Value.ToString(), false);
            if (user == null)
            {
                return RedirectToAction("BadLink");
            }
            return View();
        }

Same methods

ChangePasswordController::Index ( System.Guid guid, string newPassword, string confirmPassword ) : System.Web.Mvc.ActionResult