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