예제 #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 OrderController(IOrderRepository orderRepo,IOrderLogRepository orderlogRepo,
     IRMARepository rmaRepo,
     IRMAItemRepository rmaitemRepo,
     IRMALogRepository rmalogRepo,
     IRMA2ExRepository rmaexRepo,
     IInventoryRepository inventoryRepo)
 {
     _orderlogRepo = orderlogRepo;
     _orderRepo = orderRepo;
     _rmaRepo = rmaRepo;
     _rmaitemRepo = rmaitemRepo;
     _rmalogRepo = rmalogRepo;
     _rmaexRepo = rmaexRepo;
     _inventoryRepo = inventoryRepo;
 }