public ActionResult ModifyPassword(String U_OldPassword, String U_Password) { User m; ResponseJson resJson; m = (User)Session["User"]; resJson = um.ModifyPassword(m.U_Id, U_OldPassword, U_Password); if (resJson.status == ResponseStatus.Success) { return(Redirect("/Contents/html/layer_close.htm")); } else if (resJson.status == ResponseStatus.Error) { ModelState.AddModelError("", resJson.message); } return(View(new VMUserModifyPassword())); }