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

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

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