public BringShippingGateway() { _shippingClient = ServiceLocator.Current.GetInstance <IShippingClient>(); _warehouseRepository = ServiceLocator.Current.GetInstance <IWarehouseRepository>(); }
public BringShippingGateway(IShippingClient shippingClient, IEstimateQueryFactory estimateQueryFactory, IEstimateSettingsFactory estimateSettingsFactory) { _shippingClient = shippingClient; _estimateQueryFactory = estimateQueryFactory; _estimateSettingsFactory = estimateSettingsFactory; }
public BringShippingGateway() { _shippingClient = ServiceLocator.Current.GetInstance <IShippingClient>(); }