private BaseActionResult AddScanningTech(string parameters) { BaseActionResult result = new BaseActionResult(); string modalityType = CommonGlobalSettings.Utilities.GetParameter("modalityType", parameters); string scanningTech = CommonGlobalSettings.Utilities.GetParameter("scanningTech", parameters); string parentGuid = CommonGlobalSettings.Utilities.GetParameter("parentGuid", parameters); string domain = CommonGlobalSettings.Utilities.GetParameter("domain", parameters); string site = CommonGlobalSettings.Utilities.GetParameter("site", parameters); try { if (dictionaryService.AddScanningTech(scanningTech, parentGuid, modalityType, domain, site)) { result.Result = true; } else { result.Result = false; } } catch (Exception ex) { result.Result = false; result.ReturnMessage = ex.Message; } return(result); }