コード例 #1
0
        public ProductController(IProductDataService productDataService, 
            IBrandDataService brandDataService,
            IOrderRepository orderRepo,
            IOrderItemRepository orderItemRepo,
            IOrderLogRepository orderLogRepo,
            IProductRepository productRepo,
            IFavoriteRepository favoriteRepo,
            IPromotionRepository promotionRepo,
            IOrder2ExRepository orderexRepo,
            IRMA2ExRepository rmaexRepo,
           IInventoryRepository inventoryRepo)
        {
            _productDataService = productDataService;
            _passHelper = new PassHelper(brandDataService);
            _orderRepo = orderRepo;
            _orderItemRepo = orderItemRepo;
            _orderLogRepo = orderLogRepo;
            _productRepo = productRepo;
            _favoriteRepo = favoriteRepo;
            _promotionRepo = promotionRepo;
            _orderexRepo = orderexRepo;
            _rmaexRepo = rmaexRepo;
            _inventoryRepo = inventoryRepo;

        }
コード例 #2
0
 public ProductController(IProductDataService productDataService,
                          IBrandDataService brandDataService,
                          IOrderRepository orderRepo,
                          IOrderItemRepository orderItemRepo,
                          IOrderLogRepository orderLogRepo,
                          IProductRepository productRepo)
 {
     _productDataService = productDataService;
     _passHelper         = new PassHelper(brandDataService);
     _orderRepo          = orderRepo;
     _orderItemRepo      = orderItemRepo;
     _orderLogRepo       = orderLogRepo;
     _productRepo        = productRepo;
 }
コード例 #3
0
 public PassController(ICouponDataService couponDataService, IBrandDataService brandDataService)
 {
     _couponDataService = couponDataService;
     _passHelper = new PassHelper(brandDataService);
 }
コード例 #4
0
 public PromotionController(IPromotionDataService promotionDataService, IBrandDataService brandDataService)
 {
     _promotionDataService = promotionDataService;
     _passHelper = new PassHelper(brandDataService);
 }
コード例 #5
0
 public PassController(ICouponDataService couponDataService, IBrandDataService brandDataService)
 {
     _couponDataService = couponDataService;
     _passHelper        = new PassHelper(brandDataService);
 }
コード例 #6
0
 public PromotionController(IPromotionDataService promotionDataService, IBrandDataService brandDataService)
 {
     _promotionDataService = promotionDataService;
     _passHelper           = new PassHelper(brandDataService);
 }