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