mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
Train scheduling API,Routes and UI
This commit is contained in:
@@ -55,4 +55,10 @@ export class TrainSchedulingController {
|
||||
cancelTrainSchedule(@Param('id', ParseUUIDPipe) id: string) {
|
||||
return this.trainSchedulingService.cancelTrainSchedule(id);
|
||||
}
|
||||
|
||||
@Post('container/schedules/:id/publish')
|
||||
@ApiOperation({ summary: 'Publish container train schedule' })
|
||||
publishTrainSchedule(@Param('id', ParseUUIDPipe) id: string) {
|
||||
return this.trainSchedulingService.publishTrainSchedule(id);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user