Exemplo n.º 1
0
 public SubscriptionOrderService(
     ISubscriptionOrderRepository subscriptionOrderRepository,
     ISubscriptionOrderDateRepository subscriptionOrderDateRepository,
     ISubscriptionMonthPromotionBonusDateRepository subscriptionMonthPromotionBonusDateRepository,
     ISubscriptionOrderModifiedBonusDateRepository subscriptionOrderModifiedBonusDateRepository,
     ISubscriptionProductSnapshotRepository subscriptionProductSnapshotRepository,
     IProductForSubscriptionRepository productForSubscriptionRepository,
     ISubscriptionOrderBonusDateRepository subscriptionOrderBonusDateRepository)
 {
     _subscriptionOrderRepository     = subscriptionOrderRepository;
     _subscriptionOrderDateRepository = subscriptionOrderDateRepository;
     _subscriptionMonthPromotionBonusDateRepository = subscriptionMonthPromotionBonusDateRepository;
     _subscriptionOrderModifiedBonusDateRepository  = subscriptionOrderModifiedBonusDateRepository;
     _subscriptionProductSnapshotRepository         = subscriptionProductSnapshotRepository;
     _productForSubscriptionRepository     = productForSubscriptionRepository;
     _subscriptionOrderBonusDateRepository = subscriptionOrderBonusDateRepository;
 }
 public SubscriptionOrderBonusDateController(ISubscriptionService <SubscriptionOrderBonusDateController> subscriptionService,
                                             ISubscriptionOrderBonusDateRepository subscriptionOrderBonusDateRepository) : base(subscriptionService)
 {
     _subscriptionOrderBonusDateRepository = subscriptionOrderBonusDateRepository;
 }