public DemoCustomerSegmentController(IDemoCustomerSegmentService customerSegmentService, IDemoCustomerSegmentSearchService customerSegmentSearchService) { _customerSegmentService = customerSegmentService; _customerSegmentSearchService = customerSegmentSearchService; }
public DemoCustomerSegmentSearchService(Func <IDemoCustomerSegmentRepository> customerSegmentRepositoryFactory, IPlatformMemoryCache platformMemoryCache, IDemoCustomerSegmentService customerSegmentService) { _customerSegmentRepositoryFactory = customerSegmentRepositoryFactory; _platformMemoryCache = platformMemoryCache; _customerSegmentService = customerSegmentService; }