public FormOptionsSettingViewModel.FormOptionsListResult getFormOptionListResult(FormOptionsSettingViewModel.FormOptionsQueryParameter param) { FormOptionsSettingViewModel.FormOptionsListResult ret = new FormOptionsSettingViewModel.FormOptionsListResult(); try { var list_ret = this.formOptionSettingDao.getFormOptionsSettingList(param); ret.success = true; ret.list = list_ret.Item1; ret.count = list_ret.Item2; ret.resultCode = "200"; } catch (Exception ex) { ret.success = false; ret.resultCode = "500"; ret.resultException = ex.ToString(); } return(ret); }