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"); }
public CampaignController( ICampaignService campaignService, ITShirtCostService tshirtService, IProductService productService, IPromotionService promotionService, IRepository<CurrencyRecord> currencyRepository, IWorkContextAccessor wca, INotifier notifier, IOrchardServices services, ICookieCultureService cookieCultureService, ICountryService countryService) { _currencyRepository = currencyRepository; Services = services; _tshirtService = tshirtService; _productService = productService; _campaignService = campaignService; _promotionService = promotionService; _wca = wca; _notifier = notifier; Logger = NullLogger.Instance; _cookieCultureService = cookieCultureService; //var culture = _wca.GetContext().CurrentCulture.Trim(); _cultureUsed = _wca.GetContext().CurrentCulture.Trim(); //cultureUsed = culture == "en-SG" ? "en-SG" : (culture == "id-ID" ? "id-ID" : "en-MY"); _countryService = countryService; }
public AdminCostController(ITShirtCostService costService, IOrchardServices services, IWorkContextAccessor workContextAccessor) { _costService = costService; Services = services; _workContextAccessor = workContextAccessor; culture = _workContextAccessor.GetContext().CurrentCulture.Trim(); cultureSearch = culture == "en-SG" ? "en-SG" : (culture == "id-ID" ? "id-ID" : "en-MY"); }
public AdminCostController(ITShirtCostService costService, IOrchardServices services, IWorkContextAccessor workContextAccessor) { _costService = costService; Services = services; _workContextAccessor = workContextAccessor; culture = _workContextAccessor.GetContext().CurrentCulture.Trim(); cultureSearch = culture == "en-SG" ? "en-SG" : (culture == "id-ID" ? "id-ID" : "en-MY"); }
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"); }
public CampaignController( ICampaignService campaignService, ITShirtCostService tshirtService, IProductService productService, IPromotionService promotionService, IRepository <CurrencyRecord> currencyRepository, IWorkContextAccessor wca, INotifier notifier, IOrchardServices services, ICookieCultureService cookieCultureService, ICountryService countryService, IPriceConversionService priceConversionService, IOrderService orderService, IRepository <TeeyootUserPartRecord> userRepository, IMultiCountryService imulticountryservice, IRepository <CurrencyExchangeRecord> currencyExchangeRepository, IMultiCountryService multiCountryService ) { _currencyRepository = currencyRepository; Services = services; _tshirtService = tshirtService; _productService = productService; _campaignService = campaignService; _promotionService = promotionService; _wca = wca; _notifier = notifier; Logger = NullLogger.Instance; _cookieCultureService = cookieCultureService; //var culture = _wca.GetContext().CurrentCulture.Trim(); _cultureUsed = _wca.GetContext().CurrentCulture.Trim(); //cultureUsed = culture == "en-SG" ? "en-SG" : (culture == "id-ID" ? "id-ID" : "en-MY"); _countryService = countryService; _priceConversionService = priceConversionService; _orderService = orderService; _userRepository = userRepository; _imulticountryservice = imulticountryservice; _currencyExchangeRepository = currencyExchangeRepository; _multiCountryService = multiCountryService; }
public WizardController(IOrchardServices orchardServices, ICampaignService campaignService, IimageHelper imageHelper, IFontService fontService, IProductService productService, ISwatchService swatchService, ITShirtCostService costService, ITeeyootMessagingService teeyootMessagingService, IRepository<CommonSettingsRecord> commonSettingsRepository, IRepository<ArtRecord> artRepository, IRepository<CheckoutCampaignRequest> checkoutCampaignRequestRepository, ShellSettings shellSettings, IWorkContextAccessor workContextAccessor, IRepository<CurrencyRecord> currencyRepository) { _orchardServices = orchardServices; _campaignService = campaignService; _imageHelper = imageHelper; _fontService = fontService; _productService = productService; _swatchService = swatchService; Logger = NullLogger.Instance; _costService = costService; _teeyootMessagingService = teeyootMessagingService; _commonSettingsRepository = commonSettingsRepository; _checkoutCampaignRequestRepository = checkoutCampaignRequestRepository; _shellSettings = shellSettings; T = NullLocalizer.Instance; _artRepository = artRepository; _workContextAccessor = workContextAccessor; var culture = _workContextAccessor.GetContext().CurrentCulture.Trim(); cultureUsed = culture == "en-SG" ? "en-SG" : (culture == "id-ID" ? "id-ID" : "en-MY"); _currencyRepository = currencyRepository; }
public WizardController( IOrchardServices orchardServices, ICampaignService campaignService, IimageHelper imageHelper, IFontService fontService, IProductService productService, ISwatchService swatchService, ITShirtCostService costService, ITeeyootMessagingService teeyootMessagingService, IRepository <CommonSettingsRecord> commonSettingsRepository, IRepository <ArtRecord> artRepository, IRepository <CheckoutCampaignRequest> checkoutCampaignRequestRepository, ShellSettings shellSettings, IWorkContextAccessor workContextAccessor, IRepository <CurrencyRecord> currencyRepository, IPriceConversionService priceConversionService) { _orchardServices = orchardServices; _campaignService = campaignService; _imageHelper = imageHelper; _fontService = fontService; _productService = productService; _swatchService = swatchService; Logger = NullLogger.Instance; _costService = costService; _teeyootMessagingService = teeyootMessagingService; _commonSettingsRepository = commonSettingsRepository; _checkoutCampaignRequestRepository = checkoutCampaignRequestRepository; _shellSettings = shellSettings; T = NullLocalizer.Instance; _artRepository = artRepository; var culture = workContextAccessor.GetContext().CurrentCulture.Trim(); _cultureUsed = culture == "en-SG" ? "en-SG" : (culture == "id-ID" ? "id-ID" : "en-MY"); _currencyRepository = currencyRepository; _priceConversionService = priceConversionService; }