public string GetValueFromSettings() { try { SysSettings sysSettings = new SysSettings(); sysSettings.Name = "OE-LIMIT"; sysSettings.Value = _otherExpenseBusiness.GetValueFromSettings(sysSettings); return(JsonConvert.SerializeObject(new { Result = "OK", sysSettingsObj = sysSettings })); } catch (Exception Ex) { AppConstMessage cm = c.GetMessage(Ex.Message); return(JsonConvert.SerializeObject(new { Result = "ERROR", Message = cm.Message })); } }