Пример #1
0
 public NotificationCommand(IOrderCloudClient oc, AppSettings settings, ICMSClient cms, IHSProductCommand productCommand, ISupplierApiClientHelper apiClientHelper)
 {
     _oc              = oc;
     _settings        = settings;
     _cms             = cms;
     _productCommand  = productCommand;
     _apiClientHelper = apiClientHelper;
 }
Пример #2
0
 public MeProductCommand(
     IOrderCloudClient elevatedOc,
     IHSBuyerCommand hsBuyerCommand,
     IHSProductCommand hsProductCommand,
     ISendgridService sendgridService,
     IAppCache cache
     )
 {
     _oc               = elevatedOc;
     _hsBuyerCommand   = hsBuyerCommand;
     _hsProductCommand = hsProductCommand;
     _sendgridService  = sendgridService;
     _cache            = cache;
 }
Пример #3
0
 public MeProductCommand(
     IOrderCloudClient elevatedOc,
     IHSBuyerCommand hsBuyerCommand,
     IHSProductCommand hsProductCommand,
     ISendgridService sendgridService,
     ISimpleCache cache,
     IExchangeRatesCommand exchangeRatesCommand
     )
 {
     _oc                   = elevatedOc;
     _hsBuyerCommand       = hsBuyerCommand;
     _hsProductCommand     = hsProductCommand;
     _sendgridService      = sendgridService;
     _cache                = cache;
     _exchangeRatesCommand = exchangeRatesCommand;
 }
Пример #4
0
 public ProductController(AppSettings settings, IHSProductCommand command)
 {
     _command = command;
 }