POSTprograms

This commit is contained in:
2026-02-03 12:47:07 -05:00
parent 4997f09937
commit 7327612095
2 changed files with 17 additions and 10 deletions
+4
View File
@@ -15,6 +15,10 @@ export class ProgramaController {
findOne(@Param('id') id: string) {
return this.programaService.findOne(+id);
}
@Post()
create(@Body() body) {
return this.programaService.create(body);
}
@Patch(':id')
update(@Param('id') id: string, @Body() updateProgramaDto: UpdateProgramaDto) {