Exemplo n.º 1
0
 public MaintenanceObjectCollection GetMaintenancesByMaterialID(MaterialObject material)
 {
     MaintenanceObjectCollection maintenances;
     try
     {
         maintenances = new MaintenanceDataService().GetMemosByMaintenanceID(material);
     }
     catch (System.Exception exception1)
     {
         System.Exception innerException = exception1;
         throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException);
     }
     return maintenances;
 }
Exemplo n.º 2
0
 public MaintenanceObjectCollection GetAll()
 {
     MaintenanceObjectCollection maintenances;
     try
     {
         maintenances = new MaintenanceDataService().GetAll();
     }
     catch (System.Exception exception1)
     {
         System.Exception innerException = exception1;
         throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException);
     }
     return maintenances;
 }