Skip to content

Commit

Permalink
removed delete all routes
Browse files Browse the repository at this point in the history
  • Loading branch information
soberbat committed Feb 25, 2024
1 parent 4e305ba commit ce7880f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions src/employee/employee.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,4 @@ export class EmployeeController {
assignTask(@Param('id') id: number, @Param('taskId') taskId: number) {
return this.employeeService.assignTask(+id, +taskId)
}

@Delete('/remove-all')
remove() {
return this.employeeService.removeAll()
}
}
5 changes: 0 additions & 5 deletions src/project/project.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,4 @@ export class ProjectController {
remove(@Param('id') id: string) {
return this.projectService.remove(+id)
}

@Delete('/remove-all')
removeAll() {
return this.projectService.removeAll()
}
}

0 comments on commit ce7880f

Please sign in to comment.