Browse Source

Add clear method to the annotation service

pull/1251/head
Hironsan 4 years ago
parent
commit
c8e2aca9ad
1 changed files with 4 additions and 0 deletions
  1. 4
      frontend/services/application/tasks/text.classification.service.ts

4
frontend/services/application/tasks/text.classification.service.ts

@ -30,4 +30,8 @@ export class TextClassificationApplicationService {
public async delete(projectId: string, docId: number, annotationId: number): Promise<void> {
await this.repository.delete(projectId, docId, annotationId)
}
public async clear(projectId: string, docId: number): Promise<void> {
await this.repository.clear(projectId, docId)
}
}
Loading…
Cancel
Save