コード例 #1
0
 public CorridasController(
     ICorridaRepository corridaRepository,
     ICorridaService corridaService,
     IMapper mapper,
     INotificador notificador) : base(notificador)
 {
     _corridaRepository = corridaRepository;
     _corridaService    = corridaService;
     _mapper            = mapper;
 }
コード例 #2
0
 public CorridaService(IMapper mapper, ICorridaRepository corridaRepository)
 {
     _mapper            = mapper;
     _corridaRepository = corridaRepository;
 }
コード例 #3
0
 public CorridaService(ICorridaRepository corridaRepository, IPilotoRepository pilotoRepository, INotificador notificador) : base(notificador)
 {
     _corridaRepository = corridaRepository;
     _pilotoRepository  = pilotoRepository;
 }