public void PlanMaintenance(int assetID, string description, DateTime plannedDate) { GetAsset(assetID); AssetMaintenance tempMaintenance = new AssetMaintenance(description, plannedDate); CurrentAsset.addMaintenance(tempMaintenance); }
public void PlanMaintenance(int assetID, string description, DateTime plannedDate) { GetAsset(assetID); AssetMaintenance tempMaintenance = new AssetMaintenance( description, plannedDate); CurrentAsset.addMaintenance(tempMaintenance); }
public void addMaintenance(AssetMaintenance newMaintenance) { AssetMaintenanceList.Add(newMaintenance); }