import { Module } from '@nestjs/common';
import { RacingPersistenceModule } from '../../persistence/racing/RacingPersistenceModule';
import { RaceController } from './RaceController';
import { RaceProviders } from './RaceProviders';
import { RaceService } from './RaceService';

@Module({
  imports: [RacingPersistenceModule],
  controllers: [RaceController],
  providers: [RaceService, ...RaceProviders],
  exports: [RaceService],
})
export class RaceModule {}
