Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 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;
 }