Exemplo n.º 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;

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