Skip to content
Snippets Groups Projects

Crud groups

Merged GUVEN Kemal requested to merge crud-groups into master
4 files
+ 65
2
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -6,14 +6,17 @@ import {
@@ -6,14 +6,17 @@ import {
Delete,
Delete,
Param,
Param,
Body,
Body,
 
UseInterceptors,
} from '@nestjs/common';
} from '@nestjs/common';
import { Observable } from 'rxjs';
import { Observable } from 'rxjs';
 
import { HttpInterceptor } from '../interceptors/http.interceptor';
import { CreateGroupDto } from './dto/create-group.dto';
import { CreateGroupDto } from './dto/create-group.dto';
import { UpdateGroupDto } from './dto/update-group.dto';
import { UpdateGroupDto } from './dto/update-group.dto';
import { GroupEntity } from './entities/group.entity';
import { GroupEntity } from './entities/group.entity';
import { GroupsService } from './groups.service';
import { GroupsService } from './groups.service';
@Controller('groups')
@Controller('groups')
 
@UseInterceptors(HttpInterceptor)
export class GroupsController {
export class GroupsController {
constructor(private readonly _groupsService: GroupsService) {}
constructor(private readonly _groupsService: GroupsService) {}
Loading