コード例 #1
0
ファイル: RewardController.cs プロジェクト: 5ina/ArtSolution
 public RewardController(IOrderService orderService,
                         ICacheManager cacheManager,
                         IProductService productService,
                         ISettingService settingService,
                         ICustomerAttributeService customerAttributeService,
                         ICustomerService customerService,
                         IShopppingCartService cartService,
                         ICustomerAddressService addressService,
                         IProductAttributeService attributeService,
                         IPaymentRecordService recordService,
                         ICustomerRewardService rewardService,
                         IProductImagesService imageService,
                         IUnitOfWorkManager unitOfWorkManager)
 {
     this._orderService             = orderService;
     this._cacheManager             = cacheManager;
     this._productService           = productService;
     this._settingService           = settingService;
     this._customerAttributeService = customerAttributeService;
     this._cartService       = cartService;
     this._customerService   = customerService;
     this._addressService    = addressService;
     this._attributeService  = attributeService;
     this._recordService     = recordService;
     this._rewardService     = rewardService;
     this._imageService      = imageService;
     this._unitOfWorkManager = unitOfWorkManager;
 }
コード例 #2
0
 public UserService(IUserRepository userRepository, IRuleRepository ruleRepository, ITeamRepository teamRepository, IUnitOfWork unitOfWork, IPaymentRecordService paymentRecordService)
 {
     this._userRepository       = userRepository;
     this._ruleRepository       = ruleRepository;
     this._teamRepository       = teamRepository;
     this._unitOfWork           = unitOfWork;
     this._paymentRecordService = paymentRecordService;
 }
コード例 #3
0
 public PayController(IPaymentRecordService paymentRecordService,
                      IEmployeeService employeeService,
                      ITaxService taxService,
                      IInsuranceService insuranceService)
 {
     _paymentRecordService = paymentRecordService;
     _employeeService      = employeeService;
     _taxService           = taxService;
     _insuranceService     = insuranceService;
 }