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;

        }
 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;
 }
Example #3
0
 public PassHelper(IBrandDataService brandDataService)
 {
     _brandDataService = brandDataService;
     _couponDataService = ServiceLocator.Current.Resolve<ICouponDataService>();
 }
Example #4
0
 public PassController(ICouponDataService couponDataService, IBrandDataService brandDataService)
 {
     _couponDataService = couponDataService;
     _passHelper = new PassHelper(brandDataService);
 }
 public PromotionController(IPromotionDataService promotionDataService, IBrandDataService brandDataService)
 {
     _promotionDataService = promotionDataService;
     _passHelper = new PassHelper(brandDataService);
 }
Example #6
0
 public PassHelper(IBrandDataService brandDataService)
 {
     _brandDataService  = brandDataService;
     _couponDataService = ServiceLocator.Current.Resolve <ICouponDataService>();
 }
Example #7
0
 public PassController(ICouponDataService couponDataService, IBrandDataService brandDataService)
 {
     _couponDataService = couponDataService;
     _passHelper        = new PassHelper(brandDataService);
 }
Example #8
0
 public BrandController(IBrandDataService brandDataService)
 {
     _brandDataService = brandDataService;
 }
 public PromotionController(IPromotionDataService promotionDataService, IBrandDataService brandDataService)
 {
     _promotionDataService = promotionDataService;
     _passHelper           = new PassHelper(brandDataService);
 }
Example #10
0
 public BrandBusinessService(IBrandDataService dataService)
 {
     _dataService = dataService;
 }
Example #11
0
 public BrandController(IBrandDataService brandDataService)
 {
     _brandDataService = brandDataService;
 }