27 lines
649 B
TypeScript
27 lines
649 B
TypeScript
import { Injectable } from '@nestjs/common';
|
|
import { CreateStudentDto } from './dto/create-student.dto';
|
|
import { UpdateStudentDto } from './dto/update-student.dto';
|
|
|
|
@Injectable()
|
|
export class StudentService {
|
|
create(createStudentDto: CreateStudentDto) {
|
|
return 'This action adds a new student';
|
|
}
|
|
|
|
findAll() {
|
|
return `This action returns all student`;
|
|
}
|
|
|
|
findOne(id: number) {
|
|
return `This action returns a #${id} student`;
|
|
}
|
|
|
|
update(id: number, updateStudentDto: UpdateStudentDto) {
|
|
return `This action updates a #${id} student`;
|
|
}
|
|
|
|
remove(id: number) {
|
|
return `This action removes a #${id} student`;
|
|
}
|
|
}
|