常用方法
常用方法
常用方法
常用方法
public IActionResult VerifyEmail(int userId, string activationKey) { ViewBag.Uid = userId; ViewBag.ActivationKey = activationKey; bool isVerified = authHandler.VerifyEmail(userId, activationKey); if (!isVerified) { ViewBag.EmailVerificationFailed = "Oops! Unable to verify your email, Please contact your teck deck."; return(View("EmailVerification")); } return(RedirectToAction("Index")); }