public OrdersController(
     [ServiceDependency] IOrdersService ordersService,
     [ServiceDependency] IHttpContextLocatorService httpContextLocatorService,
     [ServiceDependency] IOrderEntryFlowService orderEntryFlowService)
 {
     _ordersService = ordersService;
     _httpContextLocatorService = httpContextLocatorService;
     _orderEntryFlowService = orderEntryFlowService;
 }
 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)
 {
 }
示例#4
0
 public TestableOrdersController(IHttpContextLocatorService httpContextLocatorService, IOrderEntryFlowService orderEntryFlowService)
     : base(new MockOrdersService(), httpContextLocatorService, orderEntryFlowService)
 {
 }