public WorkflowService(IProductService productService, IProductMailQueueService productMailQueueService, IIndexingProductService indexingProductService) { _productService = productService; _productMailQueueService = productMailQueueService; _indexingProductService = indexingProductService; }
public ESDeleteIndexProductJob(IIndexingProductService indexingProductService, IDbContextService dbContextService) { logger = LogManager.GetLogger(GetType()); _indexingProductService = indexingProductService; _dbContextService = dbContextService; }
public void TestSetup() { //LoadSheets(); gen = new GenerateRandomProductUtil(isLoggingDebug, isLoggingVerbose, isLoggingProductFullDetailsOnCreation, GenerateRandomProductUtil.serviceCall); _container = new WindsorContainer(); ComponentRegistrar.AddServicesTo(_container); ComponentRegistrar.AddNestConnection(_container); ComponentRegistrar.AddGenericRepositoriesTo(_container); ComponentRegistrar.AddCustomRepositoriesTo(_container); ComponentRegistrar.AddUnitOfWorkTo(_container); ComponentRegistrar.AddDatabaseFactoryPerThreadTo(_container); service = _container.Resolve <IProductService>(); indexService = _container.Resolve <IIndexingProductService>(); //_productImageService = _container.Resolve<IProductImageService>(); }
public ProductController(IProductService productService, IProductImageService productImageService, IIndexingProductService indexingProductService) { _productService = productService; _productImageService = productImageService; _indexingProductService = indexingProductService; }