Merge branch 'Lino' of https://repositorio.acatlan.unam.mx/IO/api-AT into Lino
This commit is contained in:
@@ -16,5 +16,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