예제 #1
0
 public MarcaVeiculosController(INotificador notificador,
                                IMapper mapper,
                                IMarcaVeiculoService service) : base(notificador)
 {
     _mapper  = mapper;
     _service = service;
 }
예제 #2
0
 public AtualizarAnuncio(
     IOutput outputHandler,
     IMarcaVeiculoService marcaVeiculoService,
     IModeloVeiculoService modeloVeiculoService,
     IVersaoVeiculoService versaoVeiculoService,
     IAnuncioRepository anuncioRepository)
 {
     _outputHandler        = outputHandler;
     _marcaVeiculoService  = marcaVeiculoService;
     _modeloVeiculoService = modeloVeiculoService;
     _versaoVeiculoService = versaoVeiculoService;
     _anuncioRepository    = anuncioRepository;
 }
예제 #3
0
 public IncluirAnuncio(
     IOutput outputHandler,
     IMarcaVeiculoService marcaVeiculoService,
     IModeloVeiculoService modeloVeiculoService,
     IVersaoVeiculoService versaoVeiculoService,
     IAnuncioRepository anuncioRepository,
     IUnitOfWork unitOfWork,
     IEntityFactory entityFactory,
     IConfiguration config,
     IDistributedCache cache)
 {
     _config               = config;
     _cache                = cache;
     _outputHandler        = outputHandler;
     _marcaVeiculoService  = marcaVeiculoService;
     _modeloVeiculoService = modeloVeiculoService;
     _versaoVeiculoService = versaoVeiculoService;
     _anuncioRepository    = anuncioRepository;
     _unitOfWork           = unitOfWork;
     _entityFactory        = entityFactory;
 }
예제 #4
0
 public ListarMarcasVeiculoUseCase(IOutput outputHandler, IMarcaVeiculoService marcaVeiculoService)
 {
     _marcaVeiculoService = marcaVeiculoService;
     _outputHandler       = outputHandler;
 }