public OrdersController( [ServiceDependency] IOrdersService ordersService, [ServiceDependency] IHttpContextLocatorService httpContextLocatorService, [ServiceDependency] IOrderEntryFlowService orderEntryFlowService) { _ordersService = ordersService; _httpContextLocatorService = httpContextLocatorService; _orderEntryFlowService = orderEntryFlowService; }
public TestableOrdersController(IHttpContextLocatorService httpContextLocatorService, IOrderEntryFlowService orderEntryFlowService) : base(new MockOrdersService(), httpContextLocatorService, orderEntryFlowService) { }