/// <summary> /// Initializes a new instance of the <see cref="OrderBillServices"/> class. /// </summary> public OrderBillServices() { this.orderBillDA = new DAFactoryTransact().CreateOrderBillDA(); this.promoteMeetAmountRuleDA = new DAFactoryPromote().CreatePromoteMeetAmountRuleDA(); this.promoteMeetMoneyRuleDA = new DAFactoryPromote().CreatePromoteMeetMoneyRuleDA(); this.productDA = new DAFactoryProduct().CreateProductDA(); this.couponCashDA = new DAFactoryPromote().CreateCouponCashDA(); this.couponDecreaseDA = new DAFactoryPromote().CreateCouponDecreaseDA(); }
/// <summary> /// Initializes a new instance of the <see cref="PromoteMeetMoneyService"/> class. /// </summary> public PromoteMeetMoneyService() { this.promoteMeetMoneyDA = new DAFactoryPromote().CreatePromoteMeetMoneyDA(); this.promoteMeetMoneyScopeDA = new DAFactoryPromote().CreatePromoteMeetMoneyScopeDA(); this.promoteMeetMoneyRuleDA = new DAFactoryPromote().CreatePromoteMeetMoneyRuleDA(); }