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

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