Пример #1
0
 public CouponBusinessTests()
 {
     _campaignBusiness = new CampaignBusiness(new CampaignData());
     _couponBusiness   = new CouponBusiness(new CouponData());
     _productBusiness  = new ProductBusiness(new ProductData());
     _cartBusiness     = new CartBusiness(new CampaignBusiness(new CampaignData()), new CouponBusiness(new CouponData()));
 }
Пример #2
0
 public HomeController(ICartBusiness cartBusiness,
                       ICategoryBusiness categoryBusiness,
                       IProductBusiness productBusiness,
                       ICampaignBusiness campaignBusiness,
                       ICouponBusiness couponBusiness,
                       IDeliveryBusiness deliveryBusiness)
 {
     _cartBusiness     = cartBusiness;
     _categoryBusiness = categoryBusiness;
     _productBusiness  = productBusiness;
     _campaignBusiness = campaignBusiness;
     _couponBusiness   = couponBusiness;
     _deliveryBusines  = deliveryBusiness;
 }
Пример #3
0
 public MicroKolController(IAccountBusiness __IAccountBusiness, IAccountRepository __IAccountRepository,
                           IAccountCampaignChargeRepository __IAccountCampaignChargeRepository,
                           IAccountCampaignChargeBusiness __IAccountCampaignChargeBusiness, ICampaignBusiness __ICampaignBusiness,
                           ICampaignAccountRepository __ICampaignAccountRepository, ITransactionRepository __ITransactionRepository,
                           ITransactionBusiness __ITransactionBusiness, IWalletBusiness __IWalletBusiness, IWalletRepository __IWalletRepository,
                           INotificationBusiness __INotificationBusiness, IWalletService ___WalletService, INotificationService __INotificationService)
 {
     _IAccountBusiness   = __IAccountBusiness;
     _IAccountRepository = __IAccountRepository;
     _IAccountCampaignChargeRepository = __IAccountCampaignChargeRepository;
     _IAccountCampaignChargeBusiness   = __IAccountCampaignChargeBusiness;
     _ICampaignBusiness          = __ICampaignBusiness;
     _ICampaignAccountRepository = __ICampaignAccountRepository;
     _ITransactionRepository     = __ITransactionRepository;
     _ITransactionBusiness       = __ITransactionBusiness;
     _IWalletBusiness            = __IWalletBusiness;
     _IWalletRepository          = __IWalletRepository;
     _INotificationBusiness      = __INotificationBusiness;
     _WalletService        = ___WalletService;
     _INotificationService = __INotificationService;
 }
Пример #4
0
        public CampaignController(ICampaignBusiness __ICampaignBusiness, ICampaignRepository __ICampaignRepository, IAgencyBusiness __IAgencyBusiness,
                                  ISharedBusiness __ISharedBusiness, INotificationBusiness __INotificationBusiness, ICampaignService __ICampaignService,
                                  ITransactionRepository __ITransactionRepository, ITransactionService __ITransactionService,
                                  IWalletService __IWalletService, ISharedService __ISharedService, ICampaignAccountCaptionService __ICampaignAccountCaptionService,
                                  ICampaignAccountContentService __ICampaignAccountContentService,
                                  ICampaignAccountStatisticService __ICampaignAccountStatisticService, ICampaignAccountRepository __ICampaignAccountRepository, INotificationService __INotificationService)
        {
            _ICampaignBusiness               = __ICampaignBusiness;
            _ICampaignRepository             = __ICampaignRepository;
            _IAgencyBusiness                 = __IAgencyBusiness;
            _ISharedBusiness                 = __ISharedBusiness;
            _INotificationBusiness           = __INotificationBusiness;
            _ICampaignService                = __ICampaignService;
            _ITransactionRepository          = __ITransactionRepository;
            _TransactionService              = __ITransactionService;
            _IWalletService                  = __IWalletService;
            _sharedService                   = __ISharedService;
            _campaignAccountCaptionService   = __ICampaignAccountCaptionService;
            _campaignAccountContentService   = __ICampaignAccountContentService;
            _campaignAccountStatisticService = __ICampaignAccountStatisticService;

            _ICampaignAccountRepository = __ICampaignAccountRepository;
            _INotificationService       = __INotificationService;
        }
 public CampaignController(IVendorBusiness objIVendorBusiness, ICampaignBusiness objICampaignBusiness)
 {
     _objIVendorBusiness   = objIVendorBusiness;
     _objICampaignBusiness = objICampaignBusiness;
 }
Пример #6
0
 public HomeController(ICampaignBusiness __ICampaignBusiness)
 {
     _ICampaignBusiness = __ICampaignBusiness;
 }
Пример #7
0
 public CartBusiness(ICampaignBusiness campaignBusiness, ICouponBusiness couponBusiness)
 {
     _campaignBusiness = campaignBusiness;
     _couponBusiness   = couponBusiness;
 }