Exemple #1
0
 public ImportController(IUserNameResolver userNameResolver, IBlobStorageProvider blobStorageProvider, ICsvPriceDataValidator csvPriceDataValidator,
                         IPushNotificationManager pushNotificationManager, ICsvPagedPriceDataSourceFactory csvPagedPriceDataSourceFactory)
 {
     _userNameResolver               = userNameResolver;
     _blobStorageProvider            = blobStorageProvider;
     _pushNotificationManager        = pushNotificationManager;
     _csvPagedPriceDataSourceFactory = csvPagedPriceDataSourceFactory;
     _csvPriceDataValidator          = csvPriceDataValidator;
 }
Exemple #2
0
 public CsvPagedPriceDataImporter(IBlobStorageProvider blobStorageProvider, IPricingService pricingService, IPricingSearchService pricingSearchService,
                                  ICsvPriceDataValidator csvPriceDataValidator, ICsvPagedPriceDataSourceFactory dataSourceFactory, IValidator <ImportProductPrice[]> importProductPricesValidator, ICsvPriceImportReporterFactory importReporterFactory
                                  , IBlobUrlResolver blobUrlResolver, ImportConfigurationFactory importConfigurationFactory)
 {
     _pricingService               = pricingService;
     _pricingSearchService         = pricingSearchService;
     _dataSourceFactory            = dataSourceFactory;
     _importProductPricesValidator = importProductPricesValidator;
     _csvPriceDataValidator        = csvPriceDataValidator;
     _importReporterFactory        = importReporterFactory;
     _blobUrlResolver              = blobUrlResolver;
     _importConfigurationFactory   = importConfigurationFactory;
 }