コード例 #1
0
 public LossesAndAdjustmentsController(IUserProfileService userProfileService,
                                       ICommodityService commodityService,
                                       IStoreService storeService,
                                       IProgramService programService,
                                       IHubService hubService,
                                       IUnitService unitService,
                                       IAdjustmentReasonService adjustmentReasonService,
                                       IAdjustmentService adjustmentService,
                                       ITransactionService transactionService,
                                       IProjectCodeService projectCodeService,
                                       IShippingInstructionService shippingInstructionService)
     : base(userProfileService)
 {
     _userProfileService         = userProfileService;
     _commodityService           = commodityService;
     _storeService               = storeService;
     _programService             = programService;
     _hubService                 = hubService;
     _unitService                = unitService;
     _adjustmentReasonService    = adjustmentReasonService;
     _adjustmentService          = adjustmentService;
     _TransactionService         = transactionService;
     _projectCodeService         = projectCodeService;
     _shippingInstructionService = shippingInstructionService;
 }
コード例 #2
0
 public LossesAndAdjustmentsController(IUserProfileService userProfileService,
                                         ICommodityService commodityService,
                                         IStoreService storeService,
                                         IProgramService programService,
                                         IHubService hubService,
                                         IUnitService unitService,
                                         IAdjustmentReasonService adjustmentReasonService,
                                         IAdjustmentService adjustmentService,
                                         ITransactionService transactionService,
                                         IProjectCodeService projectCodeService,
                                         IShippingInstructionService shippingInstructionService)
     : base(userProfileService)
 {
     _userProfileService = userProfileService;
     _commodityService = commodityService;
     _storeService = storeService;
     _programService = programService;
     _hubService = hubService;
     _unitService = unitService;
     _adjustmentReasonService = adjustmentReasonService;
     _adjustmentService = adjustmentService;
     _TransactionService = transactionService;
     _projectCodeService = projectCodeService;
     _shippingInstructionService = shippingInstructionService;
 }
コード例 #3
0
 private void FactoryService()
 => _adjustmentService = new AdjustmentService(_adjustmentRepositoryMock.Object, _busHandlerMock.Object);