DBPOLLDemo.Controllers.UserController.ChangePassword C# (CSharp) Method

ChangePassword() public method

public ChangePassword ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult
        public ActionResult ChangePassword()
        {
            // Basic check to see if the user is Authenticated.
            if (Session["Created"] == null && (Session["uid"] == null || Session["uid"].ToString().Equals("")))
            {
                return RedirectToAction("Index", "Home");
            }
            return View();
        }

Same methods

UserController::ChangePassword ( string currentPassword, string newPassword, string confirmPassword ) : System.Web.Mvc.ActionResult