public ParameterSystemObject GetByKeyName(string keyName) { ParameterSystemObject parameter; try { parameter = new ParameterSystemDataService().GetByKeyName(keyName); } catch (System.Exception exception1) { System.Exception innerException = exception1; throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException); } return(parameter); }
public ParameterSystemObjectCollection GetAll() { ParameterSystemObjectCollection parameters; try { parameters = new ParameterSystemDataService().GetAll(); } catch (System.Exception exception1) { System.Exception innerException = exception1; throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException); } return(parameters); }