public CorridasController( ICorridaRepository corridaRepository, ICorridaService corridaService, IMapper mapper, INotificador notificador) : base(notificador) { _corridaRepository = corridaRepository; _corridaService = corridaService; _mapper = mapper; }
public CorridaService(IMapper mapper, ICorridaRepository corridaRepository) { _mapper = mapper; _corridaRepository = corridaRepository; }
public CorridaService(ICorridaRepository corridaRepository, IPilotoRepository pilotoRepository, INotificador notificador) : base(notificador) { _corridaRepository = corridaRepository; _pilotoRepository = pilotoRepository; }