public JsonResult GetsettingGetbyAccontNo(string AccountNo, string TrackID) { bool success = true; string _Message = string.Empty; List <SettingModel> data = new List <SettingModel>(); try { data = SettingModel.Geofence_GetSetting(AccountNo, TrackID); } catch (Exception ex) { _Message = ex.Message; success = false; } return(Json(new { success = success, message = _Message, total = data.Count, results = data }, JsonRequestBehavior.AllowGet)); }