public EnvironmentSeedCommand( AppSettings settings, IPortalService portal, IHSSupplierCommand supplierCommand, IHSBuyerCommand buyerCommand, IHSBuyerLocationCommand buyerLocationCommand, IOrderCloudClient oc, IExchangeRatesCommand exhangeRates ) { _settings = settings; _portal = portal; _supplierCommand = supplierCommand; _buyerCommand = buyerCommand; _buyerLocationCommand = buyerLocationCommand; _oc = oc; _exhangeRates = exhangeRates; var translationsConfig = new BlobServiceConfig() { ConnectionString = _settings.BlobSettings.ConnectionString, Container = _settings.BlobSettings.ContainerNameTranslations }; _translationsBlob = new OrderCloudIntegrationsBlobService(translationsConfig); }
public EnvironmentSeedCommand( AppSettings settings, IPortalService portal, IHSSupplierCommand supplierCommand, IHSBuyerCommand buyerCommand, IHSBuyerLocationCommand buyerLocationCommand, IOrderCloudClient oc ) { _portal = portal; _supplierCommand = supplierCommand; _buyerCommand = buyerCommand; _buyerLocationCommand = buyerLocationCommand; _oc = oc; _settings = settings; }
public BuyerLocationController(ILocationPermissionCommand locationPermissionCommand, IHSBuyerLocationCommand buyerLocationCommand, IOrderCloudClient oc) { _buyerLocationCommand = buyerLocationCommand; _locationPermissionCommand = locationPermissionCommand; _oc = oc; }
public BuyerLocationController(ILocationPermissionCommand locationPermissionCommand, IHSBuyerLocationCommand buyerLocationCommand, IOrderCloudClient oc, AppSettings settings) : base(settings) { _buyerLocationCommand = buyerLocationCommand; _locationPermissionCommand = locationPermissionCommand; _oc = oc; }