import { Module } from '@nestjs/common';
import { RacingPersistenceModule } from '../../persistence/racing/RacingPersistenceModule';
import { TeamController } from './TeamController';
import { TeamProviders } from './TeamProviders';
import { TeamService } from './TeamService';

@Module({
  imports: [RacingPersistenceModule],
  controllers: [TeamController],
  providers: [TeamService, ...TeamProviders],
  exports: [TeamService],
})
export class TeamModule {}