Beispiel #1
0
 public SearchCustomerPresenter(
     [ServiceDependency] IFindCustomerService findCustomerService,
     [ServiceDependency] IPostalInfoLookupService postalInfoLookupService)
 {
     _findCustomerService     = findCustomerService;
     _postalInfoLookupService = postalInfoLookupService;
 }
Beispiel #2
0
        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;
        }