Example #1
0
 /// <summary>
 /// 初始化
 /// </summary>
 public PptCustomerAppService(IRepository <Ppt_Customer, string> repository,
                              IPptCustomerRepository dataRepository,
                              IPptCustomerManager manager,
                              ICapPublisher capPublisher,
                              IOptions <ServiceUri> options,
                              IDescCustomerConsigneeAppService customerConsigneeAppService,
                              IDescCustomerWarehouseAppService customerWarehouseAppService) : base(repository)
 {
     _dataRepository = dataRepository;
     _manager        = manager;
     _capPublisher   = capPublisher;
     _options        = options;
     _customerConsigneeAppService = customerConsigneeAppService;
     _customerWarehouseAppService = customerWarehouseAppService;
 }
Example #2
0
 /// <summary>
 /// 初始化
 /// </summary>
 public DescCustomerConsigneeController(IDescCustomerConsigneeAppService appService)
 {
     _appService = appService;
 }