public CustomerOrderServiceImpl(Func <IOrderRepository> orderRepositoryFactory, IOperationNumberGenerator operationNumberGenerator, IEventPublisher <OrderChangeEvent> eventPublisher, IShoppingCartService shoppingCartService, IItemService productService) { _repositoryFactory = orderRepositoryFactory; _shoppingCartService = shoppingCartService; _operationNumberGenerator = operationNumberGenerator; _eventPublisher = eventPublisher; _productService = productService; }
public CustomerOrderServiceImpl(Func<IOrderRepository> orderRepositoryFactory, IOperationNumberGenerator operationNumberGenerator, IEventPublisher<OrderChangeEvent> eventPublisher, IShoppingCartService shoppingCartService, IItemService productService) { _repositoryFactory = orderRepositoryFactory; _shoppingCartService = shoppingCartService; _operationNumberGenerator = operationNumberGenerator; _eventPublisher = eventPublisher; _productService = productService; }
public OrderModuleController(ICustomerOrderService customerOrderService, ICustomerOrderSearchService searchService, IStoreService storeService, IOperationNumberGenerator numberGenerator, CacheManager cacheManager, Func <IOrderRepository> repositoryFactory) { _customerOrderService = customerOrderService; _searchService = searchService; _operationNumberGenerator = numberGenerator; _storeService = storeService; _cacheManager = cacheManager; _repositoryFactory = repositoryFactory; }
public OrderModuleController(ICustomerOrderService customerOrderService, ICustomerOrderSearchService searchService, IStoreService storeService, IOperationNumberGenerator numberGenerator, CacheManager cacheManager, Func<IOrderRepository> repositoryFactory) { _customerOrderService = customerOrderService; _searchService = searchService; _operationNumberGenerator = numberGenerator; _storeService = storeService; _cacheManager = cacheManager; _repositoryFactory = repositoryFactory; }