public OrderController(IChannelEngineProductService channelEngineProductService) { _channelEngineProductService = channelEngineProductService; }
public ChannelEngineApiServiceTests() { _apiServiceMock = new Mock <IChannelEngineApiService>(); _apiServiceMock.Setup(a => a.FetchAllOrders()).ReturnsAsync(DataGenerator.CreateDummyData()); _channelEngineProductService = new ChannelEngineProductService(_apiServiceMock.Object); }
public ChannelEngineConsoleService(IConsoleService consoleService, IChannelEngineProductService channelEngineProductService) { _consoleService = consoleService; _channelEngineProductService = channelEngineProductService; }