/// <summary> /// /// </summary> /// <param name="guid"></param> /// <param name="password"></param> /// <returns></returns> public ActionResult CreatePassword(Guid guid, string password) { if (string.IsNullOrEmpty(password)) { return(View("ThankUConfirmation", guid)); } UserDomainLogic userDomainLogic = new UserDomainLogic(); var userRegistrationType = userDomainLogic.CreateUserPassword(guid, password); if (userRegistrationType > 0) { if (userRegistrationType == 3) { return(View("ThanksPasswordCreated", true)); } else { return(View("ThanksPasswordCreated", false)); } } return(RedirectToAction("", "")); }