Exemple #1
0
        public ActionResult ChangePassword(User input)
        {
            RegistrationController regController = new RegistrationController();

            if (regController.ChangePassword(input))
            {
                return(View("VerifiedSuccess"));
            }
            else
            {
                return(View("VerifiedError"));
            }
        }
Exemple #2
0
        public ActionResult EmailVerification(int id)
        {
            RegistrationController regController = new RegistrationController();

            if (regController.VerifyEmail(id))
            {
                return(View("VerifiedSuccess"));
            }
            else
            {
                return(View("VerifiedError"));
            }
        }