public ActionResult Activate(int id, string email, string captcha) { bool success = emailService.ActivateEmail(id, captcha); if (!success) { ModelState.AddModelError(captcha, "邮箱或者验证密码不正确"); return(View()); } emailService.HasVaild(id); return(View()); }