public SubscriptionDayService(
     ISubscriptionDayRepository collectiveDayRepository,
     ISubscriptionProductSnapshotRepository collectiveProductSnapshotRepository,
     IProductForSubscriptionRepository productForSubscriptionRepository,
     IProductRepository productRepository)
 {
     _collectiveDayRepository             = collectiveDayRepository;
     _collectiveProductSnapshotRepository = collectiveProductSnapshotRepository;
     _productForSubscriptionRepository    = productForSubscriptionRepository;
     _productRepository = productRepository;
 }
예제 #2
0
 public SubscriptionOrderService(
     ISubscriptionOrderRepository subscriptionOrderRepository,
     ISubscriptionOrderDateRepository subscriptionOrderDateRepository,
     ISubscriptionMonthPromotionBonusDateRepository subscriptionMonthPromotionBonusDateRepository,
     ISubscriptionOrderModifiedBonusDateRepository subscriptionOrderModifiedBonusDateRepository,
     ISubscriptionProductSnapshotRepository subscriptionProductSnapshotRepository)
 {
     _subscriptionOrderRepository     = subscriptionOrderRepository;
     _subscriptionOrderDateRepository = subscriptionOrderDateRepository;
     _subscriptionMonthPromotionBonusDateRepository = subscriptionMonthPromotionBonusDateRepository;
     _subscriptionOrderModifiedBonusDateRepository  = subscriptionOrderModifiedBonusDateRepository;
     _subscriptionProductSnapshotRepository         = subscriptionProductSnapshotRepository;
 }
 public SubscriptionProductSnapshotController(ISubscriptionService <SubscriptionProductSnapshotController> subscriptionService,
                                              ISubscriptionProductSnapshotRepository subscriptionProductSnapshotRepository) : base(subscriptionService)
 {
     _subscriptionProductSnapshotRepository = subscriptionProductSnapshotRepository;
 }