Exemple #1
0
 public SeasonService(WsdlCalendarService calendar,
                      SalesEvaluatorService evaluator,
                      AggregateFetcher fetcher,
                      IOptimizationNotificationService notificationService,
                      IServiceScopeFactory scopeFactory,
                      PriceCalculatorService calculatorService,
                      IMapper mapper,
                      UserTaskManager taskManager,
                      WaiterService waiter,
                      IOptions <StoreConfiguration> storeConfiguration,
                      ILogger <SeasonService> logger,
                      StoreService store)
 {
     _calendar            = calendar;
     _evaluator           = evaluator;
     _fetcher             = fetcher;
     _notificationService = notificationService;
     _scopeFactory        = scopeFactory;
     _calculatorService   = calculatorService;
     _mapper             = mapper;
     _taskManager        = taskManager;
     _waiter             = waiter;
     _storeConfiguration = storeConfiguration.Value;
     _logger             = logger;
     _store = store;
 }
 public IncreasedSalesHandler(PriceCalculatorService priceCalculator, SupplierService supplier, ILogger <IncreasedSalesHandler> logger)
 {
     _priceCalculator = priceCalculator;
     _supplier        = supplier;
     _logger          = logger;
 }