public JsonResult Index(string Password) { bool status = true; var session = Convert.ToInt32(Session["U_id"]); db.updatepassword(Password, session); status = true; return(new JsonResult { Data = new { status = status } }); }