public OrderDetailsPresenter( [CreateNew] IOrdersController controller, [ServiceDependency] IProductService productService, [ServiceDependency] IBusinessPresentationConverter <OrderDetail, OrderItemLine> orderDetailsConverter) { controller.VerifyOrderEntryFlowIsStarted(); _controller = controller; _productService = productService; _orderDetailsConverter = orderDetailsConverter; }
public OrderReviewPresenter([CreateNew] IOrdersController controller) { if (controller == null) { throw new ArgumentNullException("controller"); } controller.VerifyOrderEntryFlowIsStarted(); _controller = controller; }
public OrderInformationPresenter([CreateNew] IOrdersController controller, [ServiceDependency] IEmployeeService employeeService, [ServiceDependency] ICustomerService customerService, [ServiceDependency] IPostalInfoLookupService postalInfoLookupService, [ServiceDependency] IBusinessPresentationConverter <Employee, EmployeeDisplay> employeeConverter) { controller.VerifyOrderEntryFlowIsStarted(); _controller = controller; _employeeService = employeeService; _customerService = customerService; _postalInfoLookupService = postalInfoLookupService; _employeeConverter = employeeConverter; }