We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 160341f commit 1b24112Copy full SHA for 1b24112
nestjs-task-management/src/tasks/tasks.controller.ts
@@ -1,4 +1,4 @@
1
-import { Controller } from '@nestjs/common';
+import { Controller, Get } from '@nestjs/common';
2
import { TasksService } from './tasks.service';
3
4
@Controller()
@@ -8,4 +8,9 @@ export class TasksController {
8
9
}
10
11
+ @Get()
12
+ getAllTasks(){
13
+ return this.tasksService.getAllTasks()
14
+ }
15
+
16
0 commit comments