update resume and service
This commit is contained in:
@@ -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 },
|
||||
// });
|
||||
// }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user