public ActionResult ChangePassword(string cPw, string nPw) { UserDomainLogic userDomainLogic = new UserDomainLogic(); var result = userDomainLogic.ChangePassword(cPw, nPw, UserVariables.LoggedInUserGuid); return(Json(result, JsonRequestBehavior.AllowGet)); }