public JsonResult GetEditZone(Zone zone) { try { // รับค่าราคา SettingData st = new SettingData(); st.EditZone(zone); return(Json(new { data = " บันทึกการแก้ไขข้อมูลสำเร็จ ", success = true }, JsonRequestBehavior.AllowGet)); } catch (Exception ex) { return(Json(new { data = ex.Message, success = false }, JsonRequestBehavior.AllowGet)); } }