public HomeController( IAdvertisementRepository advertisementRepository, IBrandRepository brandRepository, IFuelRepository fuelRepository, ITransmissionTypeRepository transmissionRepository, IVehiclTypeRepository vehiclTypeRepository, IRegionRepository regionRepository) { _brandRepository = brandRepository; _fuelRepository = fuelRepository; _transmissionTypeRepository = transmissionRepository; _vehiclTypeRepository = vehiclTypeRepository; _regionRepository = regionRepository; }
public AdvertisementController( IContentProvider contentProvider, IAdvertisementRepository advertisementRepository, IBrandRepository brandRepository, IFuelRepository fuelRepository, ITransmissionTypeRepository transmissionRepository, IVehiclTypeRepository vehiclTypeRepository, IRegionRepository regionRepository, ICurrencyRepository currencyRepository) { _contentProvider = contentProvider; _advertisementRepository = advertisementRepository; _brandRepository = brandRepository; _fuelRepository = fuelRepository; _transmissionRepository = transmissionRepository; _vehiclTypeRepository = vehiclTypeRepository; _regionRepository = regionRepository; _currencyRepository = currencyRepository; }