public ActionResult Verify(string token) { var sr = new ServiceClientWrapper(); var qs = Request.Url.Query.Substring(7); if (sr.ValidateAccountActivationToken(qs)) return Redirect("https://www.semplest.com/SemplestCore/Profile/Login"); return Content("The URL is invalid."); }
public bool ValidateAccountActivationToken(string token) { var scw = new ServiceClientWrapper(); return scw.ValidateAccountActivationToken(token); }
public ActionResult Verify(string token) { var sr = new ServiceClientWrapper(); var qs = Request.Url.Query.Substring(7); if (sr.ValidateAccountActivationToken(qs)) return RedirectToAction("Login", "Profile"); return Content("The URL is invalid."); }