AssessmentAnywhere.Controllers.AccountController.ResendActivationEmail C# (CSharp) Метод

ResendActivationEmail() приватный Метод

private ResendActivationEmail ( string username ) : System.Web.Mvc.ActionResult
username string
Результат System.Web.Mvc.ActionResult
        public ActionResult ResendActivationEmail(string username)
        {
            var user = this.userRepo.Open(username);

            if (user.IsActive)
            {
                var model = new AccountActivationModel(username);
                return this.View("AlreadActivated", model);
            }

            this.accountActivationService.BeginActivation(user);

            return this.RedirectToAction("AwaitingAccountActivation", new { username });
        }