public CalculateProductPriceUseCase( ICalculateProductPriceService calculatePriceService, IUnitOfWork unitOfWork) { _calculatePriceService = _calculatePriceService; _unitOfWork = unitOfWork; }
public CalculateProductPriceJob() { _logger = LogManager.GetCurrentClassLogger(); _calculateProductPriceService = Bootstrapper.Container.Resolve <ICalculateProductPriceService>(); HostingEnvironment.RegisterObject(this); }