()
| 6 | export class BusService { |
| 7 | constructor(private readonly prismaService: PrismaService) {} |
| 8 | async getBusSchedule() { |
| 9 | return { |
| 10 | today: new Date(), |
| 11 | schedule: await this.prismaService.schedule.findMany({}), |
| 12 | }; |
| 13 | } |
| 14 | |
| 15 | async createBus(bus: any) { |
| 16 | try { |
nothing calls this directly
no outgoing calls
no test coverage detected