Commit 6a70d15f authored by Diego Iván's avatar Diego Iván
Browse files

agregando controllador de estados

parent c7730b2e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2,9 +2,10 @@ import { Module } from '@nestjs/common';
import { StateService } from './state.service';
import { State } from './entities/state.entity';
import { TypeOrmModule } from '@nestjs/typeorm';
import { StateController } from './state.controller';

@Module({
  controllers: [],
  controllers: [StateController],
  providers: [StateService],
  imports: [TypeOrmModule.forFeature([State])],
})