Example #1
0
        public CustomerLocationOrchestra(ICustomerLocationService locationService,
                                         ICustomerDepartmentService departmentService,
                                         ISetupLocalService setupLocalService,
                                         IAddressService addressService,
                                         INoteService noteService)
        {
            _locationService   = locationService;
            _departmentService = departmentService;
            var setting = setupLocalService.Find("ServerCode");

            _serverCode     = setting != null ? setting.SetupValueNvarchar : "L";
            _addressService = addressService;
            _noteService    = noteService;
        }
Example #2
0
        public CustomerDepartmentOrchestra(ICustomerDepartmentService customerDepartmentService,
                                           ICustomerDepartmentLocationService customerDepartmentLocationService,
                                           ICustomerLocationService customerLocationService,
                                           ISetupLocalService setupLocalService, INoteService noteService,
                                           ICustomerService customerService)
        {
            _customerDepartmentService         = customerDepartmentService;
            _customerService                   = customerService;
            _customerDepartmentLocationService = customerDepartmentLocationService;
            _customerLocationService           = customerLocationService;
            var setting = setupLocalService.Find("ServerCode");

            _serverCode  = setting != null ? setting.SetupValueNvarchar : "L";
            _noteService = noteService;
        }
Example #3
0
        public CustomerOrchestra(ICustomerService customerService,
                                 ICustomerLocationOrchestra locationOrchestra, ICustomerDepartmentOrchestra departmentOrchestra,
                                 ICustomerContactOrchestra contactOrchestra, ICustomerDepartmentService customerDepartmentService,
                                 INoteService noteService, IApplicationUserService appUserService,
                                 ISetupLocalService setupLocalService)
        {
            _customerService = customerService;
            var setting = setupLocalService.Find("ServerCode");

            _serverCode                = setting != null ? setting.SetupValueNvarchar : "L";
            _departmentOrchestra       = departmentOrchestra;
            _locationOrchestra         = locationOrchestra;
            _noteService               = noteService;
            _appUserService            = appUserService;
            _contactOrchestra          = contactOrchestra;
            _customerDepartmentService = customerDepartmentService;
        }
 public CustomerDepartmentApiController()
 {
     _customerDepartmentService = new CustomerDepartmentService();
 }