update resume and service

This commit is contained in:
2024-10-29 16:04:48 +07:00
parent b5d23ac930
commit 3c5b09ed5d
3 changed files with 20 additions and 14 deletions

View File

@@ -8,16 +8,16 @@ import { Schedule } from '@prisma/client';
export class ScheduleService {
constructor(private readonly prisma: PrismaService) {}
async createSchedule(schedule: Schedule) {
// generate Slot By config
// const slots = await this.generateSlots(schedule.config);
// return this.prisma.schedule.createManyAndReturn({
// data: schedule,
// });
// }
// async getSchedule(id: string) {
// return this.prisma.schedule.findUnique({
// where: { id },
// });
}
// async createSchedule(schedule: Schedule) {
// // generate Slot By config
// const slots = await this.generateSlots(schedule.config);
// return this.prisma.schedule.createManyAndReturn({
// data: schedule,
// });
// }
// async getSchedule(id: string) {
// return this.prisma.schedule.findUnique({
// where: { id },
// });
// }
}