Merge branch 'Axel' of https://github.com/IO420/api-nexus into Lino

This commit is contained in:
2025-09-18 15:56:27 -06:00
27 changed files with 463 additions and 39 deletions
+2 -1
View File
@@ -5,13 +5,14 @@ import { EntityManager, Repository } from 'typeorm';
import { InjectRepository } from '@nestjs/typeorm';
@Injectable()
export class StudentService {
export class AlumnoService {
constructor(
@InjectRepository(Student)
private readonly studentRepository: Repository<Student>,
) {}
async create(createStudentDto: CreateStudentDto): Promise<Student> {
//Hubo pedos con la base , revisar
const student = this.studentRepository.create(createStudentDto);
return await this.studentRepository.save(student);
}