(doc: Partial<T>, user?: any)
| 14 | protected debuggerService: DebuggerService; |
| 15 | |
| 16 | async create(doc: Partial<T>, user?: any): Promise<T> { |
| 17 | return this.repository.create(doc); |
| 18 | } |
| 19 | |
| 20 | async findById(id: string | Types.ObjectId): Promise<T> { |
| 21 | const result = await this.repository.findById(id); |