public OrderProcessing(IPromotionRepository promotionRepository, IProductRepository productRepository, IOrderRepository
                        orderRepository)
 {
     this.promotionRepository = promotionRepository;
     this.productRepository   = productRepository;
     this.orderRepository     = orderRepository;
 }
        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;

        }
示例#3
0
 public ApprovalProcessSaga(IUserInRoleRepository userInRoleRepository, IApprovalRepository approvalRepository, IPromotionRepository promotionRepository, ISheduler sheduler)
 {
     _userInRoleRepository = userInRoleRepository;
     _approvalRepository   = approvalRepository;
     _promotionRepository  = promotionRepository;
     _sheduler             = sheduler;
 }
 public ItemPriceCalculatorService(IPromotionRepository promotionRepository, IValidationService validationEngine,
                                   IDiscountService discountService)
 {
     _promotionRepository = promotionRepository;
     _validationEngine    = validationEngine;
     _discountService     = discountService;
 }
 public HomeController(ILogger <HomeController> logger, IPublicMethodRepsoitory <DynamicPagesContent> dynamicrepeo, IDetectionService detectionService, IPromotionRepository promotionrepo)
 {
     _logger           = logger;
     _dynamicrepeo     = dynamicrepeo;
     _detectionService = detectionService;
     _promotionrepo    = promotionrepo;
 }
示例#6
0
 public HomeController(ICategoryRepository categoryRepository, IDrinkRepository drinkRepository, IPromotionRepository promotionRepository, INotifyPopupRepository notifyPopupRepository)
 {
     _categoryRepository    = categoryRepository;
     _drinkRepository       = drinkRepository;
     _promotionRepository   = promotionRepository;
     _notifyPopupRepository = notifyPopupRepository;
 }
示例#7
0
 public PromotionController(IPromotionRepository promotionrepo, IMapper mapper, ILogger <PromotionController> logger, IPromotionBoxProdRepository promotionBoxProd)
 {
     _promotionrepo    = promotionrepo;
     _mapper           = mapper;
     _logger           = logger;
     _promotionBoxProd = promotionBoxProd;
 }
 public PromotionCineService(IPromotionCineRepository promotionCineRepository, IUnitOfWork unitOfWork, ICinemaRepository cinemaRepository, IPromotionRepository promotionRepository)
 {
     _promotionCineRepository = promotionCineRepository;
     _unitOfWork          = unitOfWork;
     _cinemaRepository    = cinemaRepository;
     _promotionRepository = promotionRepository;
 }
示例#9
0
 public SanPhamXemCungController(IMenuRepository menuRepository, IPromotionRepository promotionRepository, ISanPhamXemCungRepository phamXemCungRepository, IUnitOfWork unitOfWork)
 {
     _menuRepository        = menuRepository;
     _promotionRepository   = promotionRepository;
     _phamXemCungRepository = phamXemCungRepository;
     _unitOfWork            = unitOfWork;
 }
示例#10
0
 public PromotionService(ICouponService couponService, IPromotionRepository promotionRepository, IPromotionProductRelationRepository pprRepository
                         , ICouponRepository couponRepo)
 {
     _pprRepository       = pprRepository;
     _promotionRepository = promotionRepository;
     _couponService       = couponService;
     _couponRepo          = couponRepo;
 }
示例#11
0
 public PromotionService(ICouponService couponService, IPromotionRepository promotionRepository, IPromotionProductRelationRepository pprRepository
     ,ICouponRepository couponRepo)
 {
     _pprRepository = pprRepository;
     _promotionRepository = promotionRepository;
     _couponService = couponService;
     _couponRepo = couponRepo;
 }
示例#12
0
 public AMPTinTucController(IDetailMenuRepository detailMenuRepository, IMenuRepository menuRepository, IPromotionRepository promotionRepository, IUnitOfWork unitOfWork, IReviewRepository reviewRepository)
 {
     _detailMenuRepository = detailMenuRepository;
     _menuRepository       = menuRepository;
     _promotionRepository  = promotionRepository;
     _unitOfWork           = unitOfWork;
     _reviewRepository     = reviewRepository;
 }
 public CartController(IMenuRepository menuRepository, IPromotionRepository promotionRepository, IProductStockSyncRepository productStockSyncRepository, IMenuOptionRepository menuOptionRepository, IDetailMenuRepository detailMenuRepository)
 {
     _menuRepository             = menuRepository;
     _promotionRepository        = promotionRepository;
     _productStockSyncRepository = productStockSyncRepository;
     _menuOptionRepository       = menuOptionRepository;
     _detailMenuRepository       = detailMenuRepository;
 }
 public TagController(IDanhSachTagRepository danhSachTagRepository, IMenuRepository menuRepository, IPromotionRepository promotionRepository, IDetailMenuRepository detailMenuRepository, ITagTinTucRepository tagTinTucRepository)
 {
     _danhSachTagRepository = danhSachTagRepository;
     _menuRepository        = menuRepository;
     _promotionRepository   = promotionRepository;
     _detailMenuRepository  = detailMenuRepository;
     _tagTinTucRepository   = tagTinTucRepository;
 }
示例#15
0
 public BrandService(IBrandRepository repository, IUnitOfWork unitOfWork, IMapper mapper, IStoreRepository storeRepository, IPromotionRepository promotionRepository)
 {
     _repository          = repository;
     _unitOfWork          = unitOfWork;
     _mapper              = mapper;
     _storeRepository     = storeRepository;
     _promotionRepository = promotionRepository;
 }
        public ItemPriceCalculatorServiceTests()
        {
            _promotionRepository = Substitute.For <IPromotionRepository>();
            _validationEngine    = Substitute.For <IValidationService>();
            _discountService     = Substitute.For <IDiscountService>();

            _sut = new ItemPriceCalculatorService(_promotionRepository, _validationEngine, _discountService);
        }
示例#17
0
 public static void RegisterUserService(IPromotionRepository promotionRepository)
 {
     if (promotionRepository == null)
     {
         throw new ArgumentNullException("promotionRepository");
     }
     _promotionRepository = promotionRepository;
 }
示例#18
0
 public PromotionService(DiscordSocketClient client, IPromotionRepository repository, ModixConfig config)
 {
     _client                = client;
     _repository            = repository;
     promotionChannelID     = config.ChannelIdForPromotionCampaignAnnouncement;
     allowedToCommentRoleID = config.RoleIdToAllowCommentingOnPromotionCampaign;
     allowedToCreateRoleID  = config.RoleIdToAllowCreatingPromotionCampaign;
 }
示例#19
0
 public CouponDataService(IProductRepository productRepository, ITimeSeedRepository timeSeedRepository, ISeedRepository seedRepository, IUserService userService, ICouponRepository couponRepository, IPromotionRepository promotionRepository)
 {
     _productRepository   = productRepository;
     _couponRepository    = couponRepository;
     _promotionRepository = promotionRepository;
     _userService         = userService;
     _seedRepository      = seedRepository;
     _timeSeedRepository  = timeSeedRepository;
 }
示例#20
0
 public StoreService(IStoreRepository repository, IUnitOfWork unitOfWork, IMapper mapper, IStoreCategoryRepository StoreCategoryRepository, IProductRepository productRepository, IPromotionRepository promotionRepository)
 {
     _productRepository       = productRepository;
     _repository              = repository;
     _unitOfWork              = unitOfWork;
     _mapper                  = mapper;
     _StoreCategoryRepository = StoreCategoryRepository;
     _promotionRepository     = promotionRepository;
 }
示例#21
0
 public CouponDataService(IProductRepository productRepository, ITimeSeedRepository timeSeedRepository, ISeedRepository seedRepository, IUserService userService, ICouponRepository couponRepository, IPromotionRepository promotionRepository)
 {
     _productRepository = productRepository;
     _couponRepository = couponRepository;
     _promotionRepository = promotionRepository;
     _userService = userService;
     _seedRepository = seedRepository;
     _timeSeedRepository = timeSeedRepository;
 }
 public CreatePromotionCommandHandler(
     IPromotionRepository promotionRepository,
     IUserInRoleRepository userInRoleRepository,
     ICurrentUserProvider currentUserProvider)
 {
     _promotionRepository  = promotionRepository;
     _userInRoleRepository = userInRoleRepository;
     _currentUserProvider  = currentUserProvider;
 }
 public ApplyPromotionsWhenMovieWatched(
     IPromotionRepository promotionRepository,
     IVisitorHistoryRepository historyRepository,
     IPromotionCodeGenerator promotionCodeGenerator)
 {
     _promotionRepository    = promotionRepository;
     _historyRepository      = historyRepository;
     _promotionCodeGenerator = promotionCodeGenerator;
 }
示例#24
0
 public BannerController(IBannerRepository bannerRepo,
     IPromotionRepository proRepo,
     IResourceRepository resourceRepo,
     IResourceService resourceSer)
 {
     _bannerRepo = bannerRepo;
     _proRepo = proRepo;
     _resourceRepo = resourceRepo;
     _resourceSer = resourceSer;
 }
 public BusinessController(IBusinessRepository businessRepository, UserManager <User> userManager,
                           IUserRepository userRepository, IEventRepository eventRepository,
                           IPromotionRepository promotionRepository)
 {
     _businessRepository  = businessRepository;
     _userManager         = userManager;
     _userRepository      = userRepository;
     _eventRepository     = eventRepository;
     _promotionRepository = promotionRepository;
 }
示例#26
0
 public AMPSanPhamController(IMenuRepository menuRepository, HttpContextBase httpContext, IProductStockSyncRepository stockSyncRepository, IPromotionRepository promotionRepository, IUserRatingRepository userRatingRepository, IDanhSachTagRepository danhSachTagRepository, IThietLapRepository thietLapRepository)
 {
     _menuRepository        = menuRepository;
     _httpContext           = httpContext;
     _stockSyncRepository   = stockSyncRepository;
     _promotionRepository   = promotionRepository;
     _userRatingRepository  = userRatingRepository;
     _danhSachTagRepository = danhSachTagRepository;
     _ThietLapRepository    = thietLapRepository;
 }
示例#27
0
 public PromotionController(
     IPromotionRepository _Promotion
     , IProductRepository _Product
     , IUserRepository _user
     )
 {
     PromotionRepository = _Promotion;
     ProductRepository   = _Product;
     userRepository      = _user;
 }
示例#28
0
 public HomeController(IPrintRepository print, IPromotionRepository promo)
 {
     printRepo  = print;
     promoRepo  = promo;
     homePageVM = new HomepageItems
     {
         printRepository     = printRepo,
         promotionRepository = promoRepo
     };
 }
示例#29
0
 public PromotionController(
     IUnitOfWork unitOfWork, IPromotionRepository promotionRepository, IMenuRepository menuRepository, IPromotionDetailRepository promotionDetailRepository, IMenuOptionRepository menuOptionRepository, HttpContextBase httpContext)
 {
     _unitOfWork                = unitOfWork;
     _promotionRepository       = promotionRepository;
     _menuRepository            = menuRepository;
     _promotionDetailRepository = promotionDetailRepository;
     _menuOptionRepository      = menuOptionRepository;
     _httpContext               = httpContext;
 }
示例#30
0
 public BannerController(IBannerRepository bannerRepo,
                         IPromotionRepository proRepo,
                         IResourceRepository resourceRepo,
                         IResourceService resourceSer)
 {
     _bannerRepo   = bannerRepo;
     _proRepo      = proRepo;
     _resourceRepo = resourceRepo;
     _resourceSer  = resourceSer;
 }
示例#31
0
 public TinTucController(IDetailMenuRepository detailMenuRepository, IUnitOfWork unitOfWork, IMenuRepository menuRepository, IPromotionRepository promotionRepository, IReviewRepository reviewRepository, IDanhSachTagRepository danhSachTagRepository, ITagTinTucRepository tagTinTucRepository)
 {
     _detailMenuRepository  = detailMenuRepository;
     _unitOfWork            = unitOfWork;
     _menuRepository        = menuRepository;
     _promotionRepository   = promotionRepository;
     _reviewRepository      = reviewRepository;
     _danhSachTagRepository = danhSachTagRepository;
     _tagTinTucRepository   = tagTinTucRepository;
 }
示例#32
0
 public OrderController(IMenuRepository menuRepository, IPromotionRepository promotionRepository, IProductStockSyncRepository productStockSyncRepository, IDetailMenuCommentRepository detailMenuCommentRepository, IDetailMenuCommentItemRepository detailMenuCommentItemRepository, IUnitOfWork unitOfWork, IKhoQuaTangRepository khoQuaTangRepository, IMenuOptionRepository menuOptionRepository)
 {
     _menuRepository                  = menuRepository;
     _promotionRepository             = promotionRepository;
     _productStockSyncRepository      = productStockSyncRepository;
     _detailMenuCommentRepository     = detailMenuCommentRepository;
     _detailMenuCommentItemRepository = detailMenuCommentItemRepository;
     _unitOfWork           = unitOfWork;
     _khoQuaTangRepository = khoQuaTangRepository;
     _menuOptionRepository = menuOptionRepository;
 }
 public PromotionDataService(IPromotionService promotionService, ICouponService couponService, IPromotionBrandRelationRepository promotionBrandRelationRepository, IPromotionRepository promotionRepository, IFavoriteService favoriteService, IShareService shareService, ICouponDataService couponDataService, IResourceService resourceService)
 {
     _promotionRepository = promotionRepository;
     _favoriteService = favoriteService;
     _shareService = shareService;
     _couponDataService = couponDataService;
     _resourceService = resourceService;
     _promotionBrandRelationRepository = promotionBrandRelationRepository;
     _couponService = couponService;
     _promotionService = promotionService;
 }
 public PromotionDataService(IPromotionService promotionService, ICouponService couponService, IPromotionBrandRelationRepository promotionBrandRelationRepository, IPromotionRepository promotionRepository, IFavoriteService favoriteService, IShareService shareService, ICouponDataService couponDataService, IResourceService resourceService)
 {
     _promotionRepository = promotionRepository;
     _favoriteService     = favoriteService;
     _shareService        = shareService;
     _couponDataService   = couponDataService;
     _resourceService     = resourceService;
     _promotionBrandRelationRepository = promotionBrandRelationRepository;
     _couponService    = couponService;
     _promotionService = promotionService;
 }
 public AdminController(IDrzewoAlejoweRepository drzewoAlejowe, IIglakGruntRepository iglakGrunt, IIglakPojemnikRepository iglakPojemnik, IKrzewLisciastyRepository krzewLisciasty, IBoxRepository boxes, IPromotionRepository promotion, IProductRepository product, IGalleryImageRepository image)
 {
     drzewoAlejoweRepository   = drzewoAlejowe;
     iglakGruntRepository      = iglakGrunt;
     iglakPojemnikRepository   = iglakPojemnik;
     krzewLisciasityRepository = krzewLisciasty;
     boxesRepository           = boxes;
     promotionRepository       = promotion;
     productRepository         = product;
     imageRepository           = image;
 }
示例#36
0
        public HomeController(
            IPromotionRepository promotionRepository,
            IPhotoRepository photoRepository,
            IPriceListRepository priceListRepository
            )
        {
            _promotionRepository = promotionRepository;

            _photoRepository = photoRepository;

            _priceListRepository = priceListRepository;
        }
示例#37
0
 public CommentController(ICommentRepository commentRepository
     ,ICustomerRepository customerRepository
     ,IPromotionRepository promotionRepository
     ,IProductRepository productRepository
     ,IResourceRepository resourceRepository)
 {
     this._commentRepository = commentRepository;
     _customerRepository = customerRepository;
     _productRepository = productRepository;
     _promotionRepository = promotionRepository;
     _resourceRepository = resourceRepository;
 }
示例#38
0
 public CouponController(ICouponDataService couponDataService,
     ICouponRepository couponRepo,
     IPromotionRepository promotionRepo,
     IProductRepository productRepo,
     IStoreRepository storeRepo)
 {
     this._couponDataService = couponDataService;
     _couponRepo = couponRepo;
     _productRepo = productRepo;
     _promotionRepo = promotionRepo;
     _storeRepo = storeRepo;
 }
 public PromotionController(IPromotionRepository promotionRepository
     ,IStoreRepository storeRepository
     ,ITagRepository tagRepository
     ,IResourceService resourceService
     ,IUserAuthRepository authRepo)
 {
     this._promotionRepository = promotionRepository;
     _storeRepository = storeRepository;
     _tagRepository = tagRepository;
     _resourceService = resourceService;
     _authRepo = authRepo;
 }
示例#40
0
 protected BaseMappingManager()
 {
     _resourceRepository = ServiceLocator.Current.Resolve<IResourceRepository>();
     _pprRepository = ServiceLocator.Current.Resolve<IPromotionProductRelationRepository>();
     _stprRepository = ServiceLocator.Current.Resolve<ISpecialTopicProductRelationRepository>();
     _storeRepository = ServiceLocator.Current.Resolve<IStoreRepository>();
     _tagRepository = ServiceLocator.Current.Resolve<ITagRepository>();
     _specialTopicRepository = ServiceLocator.Current.Resolve<ISpecialTopicRepository>();
     _promotionRepository = ServiceLocator.Current.Resolve<IPromotionRepository>();
     _brandRepository = ServiceLocator.Current.Resolve<IBrandRepository>();
     _customerRepository = ServiceLocator.Current.Resolve<ICustomerRepository>();
     _productRepository = ServiceLocator.Current.Resolve<IProductRepository>();
 }
示例#41
0
 public CommentController(ICommentDataService commentDataService,
     ICommentRepository commentRepo,
     IResourceRepository resourceRepo,
     ICustomerRepository customerRepo,
     IPromotionRepository promotionRepo,
     IProductRepository productRepo)
 {
     _commentDataService = commentDataService;
     _commentRepo = commentRepo;
     _customerRepo = customerRepo;
     _resourceRepo = resourceRepo;
     _productRepo = productRepo;
     _promotionRepo = promotionRepo;
 }
 public ProductDataService(IPromotionDataService promotionDataService, IPromotionService promotionService,
     ICouponService couponService, IResourceService resourceService, IProductRepository productRepository,
     IShareService shareService, IFavoriteService favoriteService, ICouponDataService couponDataService,
     IPromotionRepository promotionRepo,
     IProductPropertyRepository productpropertyRepo,
     IProductPropertyValueRepository productpropertyvalueRepo,
     IProductCode2StoreCodeRepository productcodemapRepo)
 {
     _promotionDataService = promotionDataService;
     _productRepository = productRepository;
     _shareService = shareService;
     _favoriteService = favoriteService;
     _couponDataService = couponDataService;
     _resourceService = resourceService;
     _couponService = couponService;
     _promotionService = promotionService;
     _promotionRepo = promotionRepo;
     _productpropertyRepo = productpropertyRepo;
     _productpropertyvalueRepo = productpropertyvalueRepo;
     _productcodemapRepo = productcodemapRepo;
 }
示例#43
0
 public PromotionService(IPromotionRepository promotionRepository)
 {
     _promotionRepository = promotionRepository;
 }
示例#44
0
 public ItemsDataService(IProductRepository productRepository, IPromotionRepository promotionRepository)
 {
     _productRepository = productRepository;
     _promotionRepository = promotionRepository;
 }
示例#45
0
 public PromotionService(IRepository<Discount> discountRepository, IRepository<Coupon> couponRepository, IPromotionRepository promotionRepository  )
 {
     _discountRepository = discountRepository;
     _couponRepository = couponRepository;
     _promotionRepository = promotionRepository;
 }
示例#46
0
 public PromotionService(IRepositoryFactory repositoryFactory)
 {
     this.repositoryFactory = repositoryFactory;
     promotionRepository = this.repositoryFactory.GetRepository<IPromotionRepository, Promotion>();
 }
 public CouponCodeReportController(IPromotionRepository proRepo)
 {
     _proRepo = proRepo;
 }
 public PromotionController(IPromotionRepository promotionRepository,
     IPrizeWinningRecorder prizeWinningRecorder)
 {
     this.promotionRepository = promotionRepository;
     this.prizeWinningRecorder = prizeWinningRecorder;
 }
 public PromotionsApiController(IPromotionRepository promotionRepository)
 {
     this.promotionRepository = promotionRepository;
 }
示例#50
0
 public HomeController(IMealRepository mealRepository, IPromotionRepository promotionRepository)
 {
     _mealRepository = mealRepository;
     _promotionRepository = promotionRepository;
 }
 public PromotionModelBinder(IPromotionRepository service)
 {
     _promotionRepository = service;
 }