Exemplo n.º 1
0
        public ActionResult ChangePassword(User input)
        {
            RegistrationController regController = new RegistrationController();

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

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