Commit 957a5247 authored by Diego Iván's avatar Diego Iván
Browse files

agregando imports y providers

parent a3be0e9c
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
import { Module } from '@nestjs/common';
import { TownService } from './town.service';
import { TownController } from './town.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Town } from './entities/town.entity';
import { StateService } from 'src/state/state.service';
import { State } from 'src/state/entities/state.entity';

@Module({
  controllers: [TownController],
  providers: [TownService],
  providers: [TownService, StateService],
  imports: [TypeOrmModule.forFeature([Town, State])],
})
export class TownModule {}