/// <summary> /// Initializes a new instance of the <see cref="AbandonedBasketReportApiController"/> class. /// </summary> /// <param name="merchelloContext"> /// The merchello context. /// </param> public AbandonedBasketReportApiController(IMerchelloContext merchelloContext) : base(merchelloContext) { _itemCacheService = merchelloContext.Services.ItemCacheService; _invoiceService = merchelloContext.Services.InvoiceService; _maxDays = MerchelloConfiguration.Current.AnonymousCustomersMaxDays; _startDate = DateTime.Today.AddDays(-_maxDays); _endDate = DateTime.Today; }
public WarframeMarketAggregatorControllerV1(IItemCacheService itemCacheService) { _itemCacheService = itemCacheService; }
public CacheFileManager(IItemCacheService itemCacheService) { _itemCacheService = itemCacheService; }
public void Initialize() { PreTestDataWorker.DeleteAllItemCaches(); _itemCacheService = PreTestDataWorker.ItemCacheService; _anonymous = PreTestDataWorker.MakeExistingAnonymousCustomer(); }