se hizo el servicio de opción
This commit is contained in:
@@ -1,9 +1,19 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { OpcionService } from './opcion.service';
|
||||
import { OpcionController } from './opcion.controller';
|
||||
import { PreguntaModule } from 'src/pregunta/pregunta.module';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { Opcion } from './entities/opcion.entity';
|
||||
import { TipoPregunta } from 'src/tipo_pregunta/entities/tipo_pregunta.entity';
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
TypeOrmModule.forFeature([Opcion]),
|
||||
PreguntaModule,
|
||||
TipoPregunta
|
||||
],
|
||||
controllers: [OpcionController],
|
||||
providers: [OpcionService],
|
||||
exports: [OpcionService],
|
||||
})
|
||||
export class OpcionModule {}
|
||||
|
||||
Reference in New Issue
Block a user