예제 #1
0
 public ProductPersistenceService(IMapper mapper,
                                  IPricedProductRepository pricedRepository,
                                  WeekCounter weekCounter,
                                  ILogger <ProductPersistenceService> logger)
 {
     _mapper           = mapper;
     _pricedRepository = pricedRepository;
     _weekCounter      = weekCounter;
     _logger           = logger;
 }
예제 #2
0
 public PriceController(SalesOptimalizationService optimizer,
                        IPricedProductRepository pricedProductRepository,
                        IMapper mapper,
                        ILogger <PriceController> logger,
                        SeasonService seasonService)
 {
     _optimizer = optimizer;
     _pricedProductRepository = pricedProductRepository;
     _mapper        = mapper;
     _logger        = logger;
     _seasonService = seasonService;
 }