public DashboardController(IRepository <CampaignCategoriesRecord> campaignCategoryRepository,
                                   IRepository <LinkCampaignAndCategoriesRecord> linkCampaignAndCategoryRepository,
                                   ICampaignService campaignService,
                                   IMailChimpSettingsService settingsService,
                                   IOrderService orderService,
                                   IWorkContextAccessor wca,
                                   IStoreService storeService,
                                   IimageHelper imageHelper,
                                   IMembershipService membershipService,
                                   IPayoutService payoutService,
                                   IOrchardServices services,
                                   IContentManager contentManager,
                                   IPromotionService promotionService,
                                   IPaymentInformationService paymentInfService,
                                   ICampaignCategoriesService campaignCategoryService,
                                   IRepository <CurrencyRecord> currencyRepository,
                                   IMessageService messageService,
                                   ITShirtCostService tshirtService,
                                   IProductService productService,
                                   INotifier notifier,
                                   ICookieCultureService cookieCultureService,
                                   ITeeyootMessagingService teeyootMessagingService,
                                   IWorkContextAccessor workContextAccessor,
                                   ITShirtCostService costService,
                                   IPriceConversionService priceConversionService,
                                   IRepository <TeeyootUserPart> users
                                   )
        {
            _campaignCategoryRepository        = campaignCategoryRepository;
            _linkCampaignAndCategoryRepository = linkCampaignAndCategoryRepository;
            _cookieCultureService = cookieCultureService;
            _campaignService      = campaignService;
            _currencyRepository   = currencyRepository;
            _orderService         = orderService;
            _wca = wca;
            this._settingsService    = settingsService;
            this._orderService       = orderService;
            _storeService            = storeService;
            _imageHelper             = imageHelper;
            _membershipService       = membershipService;
            _contentManager          = contentManager;
            _payoutService           = payoutService;
            _promotionService        = promotionService;
            _campaignCategoryService = campaignCategoryService;
            _paymentInfService       = paymentInfService;
            _messageService          = messageService;
            _tshirtService           = tshirtService;
            _productService          = productService;
            _notifier = notifier;
            _teeyootMessagingService = teeyootMessagingService;
            Services                = services;
            _costService            = costService;
            Logger                  = NullLogger.Instance;
            _priceConversionService = priceConversionService;
            _users                  = users;

            _workContextAccessor = workContextAccessor;
            culture     = _workContextAccessor.GetContext().CurrentCulture.Trim();
            cultureUsed = culture == "en-SG" ? "en-SG" : (culture == "id-ID" ? "id-ID" : "en-MY");
        }
Example #2
0
        public DashboardController(IRepository<CampaignCategoriesRecord> campaignCategoryRepository,
                                   IRepository<LinkCampaignAndCategoriesRecord> linkCampaignAndCategoryRepository,
                                   ICampaignService campaignService,
                                   IMailChimpSettingsService settingsService,
                                   IOrderService orderService,
                                   IWorkContextAccessor wca,
                                   IStoreService storeService,
                                   IimageHelper imageHelper,
                                   IMembershipService membershipService,
                                   IPayoutService payoutService,
                                   IOrchardServices services,
                                   IContentManager contentManager,
                                   IPromotionService promotionService,
                                   IPaymentInformationService paymentInfService,
                                   ICampaignCategoriesService campaignCategoryService,
                                   IRepository<CurrencyRecord> currencyRepository,
                                   IMessageService messageService,
                                   ITShirtCostService tshirtService,
                                   IProductService productService,
                                   INotifier notifier,
                                   ICookieCultureService cookieCultureService,
                                   ITeeyootMessagingService teeyootMessagingService,
                                   IWorkContextAccessor workContextAccessor
                                    )
        {
            _campaignCategoryRepository = campaignCategoryRepository;
            _linkCampaignAndCategoryRepository = linkCampaignAndCategoryRepository;
            _cookieCultureService = cookieCultureService;
            _campaignService = campaignService;
            _currencyRepository = currencyRepository;
            _orderService = orderService;
            _wca = wca;
            this._settingsService = settingsService;
            this._orderService = orderService;
            _storeService = storeService;
            _imageHelper = imageHelper;
            _membershipService = membershipService;
            _contentManager = contentManager;
            _payoutService = payoutService;
            _promotionService = promotionService;
            _campaignCategoryService = campaignCategoryService;
            _paymentInfService = paymentInfService;
            _messageService = messageService;
            _tshirtService = tshirtService;
            _productService = productService;
            _notifier = notifier;
            _teeyootMessagingService = teeyootMessagingService;
            Services = services;

            Logger = NullLogger.Instance;

            _workContextAccessor = workContextAccessor;
            culture = _workContextAccessor.GetContext().CurrentCulture.Trim();
            cultureUsed = culture == "en-SG" ? "en-SG" : (culture == "id-ID" ? "id-ID" : "en-MY");
        }
Example #3
0
        // GET: Tranzaction

        public TranzactionController(IPayoutService payoutService,
                                     ISiteService siteService,
                                     IShapeFactory shapeFactory,
                                     IContentManager contentManager,
                                     IPaymentInformationService paymentInformationService,
                                     ITeeyootMessagingService teeyootMessagingService,
                                     ICampaignService campService)
        {
            _payoutService             = payoutService;
            _siteService               = siteService;
            _paymentInformationService = paymentInformationService;
            _contentManager            = contentManager;
            _teeyootMessagingService   = teeyootMessagingService;
            Shape        = shapeFactory;
            _campService = campService;
        }
Example #4
0
        // GET: Tranzaction

        public TranzactionController(IPayoutService payoutService,
                                     ISiteService siteService,
                                     IShapeFactory shapeFactory,
                                     IContentManager contentManager,
                                     IPaymentInformationService paymentInformationService,
                                     ITeeyootMessagingService teeyootMessagingService,
                                     ICampaignService campService)
        {
            _payoutService = payoutService;
            _siteService = siteService;
            _paymentInformationService = paymentInformationService;
            _contentManager = contentManager;
            _teeyootMessagingService = teeyootMessagingService;
            Shape = shapeFactory;
            _campService = campService;
        }