added alumno_inscrito and others Ep
This commit is contained in:
@@ -21,5 +21,10 @@ export class AlumnoController {
|
||||
findOne(@Param('id') id: number) {
|
||||
return this.alumnoService.findOne(+id);
|
||||
}
|
||||
|
||||
@Post('/create')
|
||||
async newStudent(@Body() createStudentDto: CreateStudentDto) {
|
||||
return this.alumnoService.create(createStudentDto);
|
||||
}
|
||||
}
|
||||
//IO
|
||||
Reference in New Issue
Block a user