From a24ae3ba333a2e5cfda10a8f3afb3b94486394b0 Mon Sep 17 00:00:00 2001 From: "t.gazzaev" Date: Sun, 6 Nov 2022 22:31:13 +0300 Subject: [PATCH] Users base crud --- src/api/users/users.controller.ts | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/src/api/users/users.controller.ts b/src/api/users/users.controller.ts index 6914196..e379bae 100644 --- a/src/api/users/users.controller.ts +++ b/src/api/users/users.controller.ts @@ -8,4 +8,29 @@ export class UsersController { getUsers() { return this.userService.findUsers() } + + // @Post() + // create(@Body() createUserDto: CreateUserDto) { + // return this.usersService.create(createUserDto); + // } + // + // @Get() + // findAll() { + // return this.usersService.findAll(); + // } + // + // @Get(':id') + // findOne(@Param('id') id: string) { + // return this.usersService.findOne(+id); + // } + // + // @Patch(':id') + // update(@Param('id') id: string, @Body() updateUserDto: UpdateUserDto) { + // return this.usersService.update(+id, updateUserDto); + // } + // + // @Delete(':id') + // remove(@Param('id') id: string) { + // return this.usersService.remove(+id); + // } }