Esempio n. 1
0
 public PricingController(WorkContext workContext, IStorefrontUrlBuilder urlBuilder, IMarketingService marketingService,
                          IPromotionEvaluator promotionEvaluator, IPricingService pricingService)
     : base(workContext, urlBuilder)
 {
     _marketingService   = marketingService;
     _pricingService     = pricingService;
     _promotionEvaluator = promotionEvaluator;
 }
 public MarketingController(WorkContext workContext, IStorefrontUrlBuilder urlBuilder, IMarketingService marketingService,
     IPromotionEvaluator promotionEvaluator, IPricingModuleApi pricingApi)
     : base(workContext, urlBuilder)
 {
     _marketingService = marketingService;
     _pricingApi = pricingApi;
     _promotionEvaluator = promotionEvaluator;
 }
 public MarketingController(WorkContext workContext, IStorefrontUrlBuilder urlBuilder, IMarketingModuleApi marketingApi,
                            IMarketingService marketingService, IPricingModuleApi pricingApi)
     : base(workContext, urlBuilder)
 {
     _marketingApi     = marketingApi;
     _marketingService = marketingService;
     _pricingApi       = pricingApi;
 }
Esempio n. 4
0
		/// <summary>
		/// ctor the Mighty
		/// </summary>
		public AdminController(IUnitOfWorkFactory<BrewgrContext> unitOfWorkFactory, IUserService userService, IAdminService adminService, 
			IMarketingService marketingService, IRecipeDataService brewDataService, IBeerStyleService beerStyleService,
			IAffiliateService affiliateService, IAuthenticationService authenticationService, ISendToShopService sendToShopService)
		{
			this.UnitOfWorkFactory = unitOfWorkFactory;
			this.UserService = userService;
			this.AdminService = adminService;
			this.MarketingService = marketingService;
			this.BrewDataService = brewDataService;
            this.BeerStyleService = beerStyleService;
			this.AffiliateService = affiliateService;
			this.AuthenticationService = authenticationService;
			this.SendToShopService = sendToShopService;
		}
Esempio n. 5
0
 /// <summary>
 /// ctor the Mighty
 /// </summary>
 public AdminController(IUnitOfWorkFactory <BrewgrContext> unitOfWorkFactory, IUserService userService, IAdminService adminService,
                        IMarketingService marketingService, IRecipeDataService brewDataService, IBeerStyleService beerStyleService,
                        IAffiliateService affiliateService, IAuthenticationService authenticationService, ISendToShopService sendToShopService)
 {
     this.UnitOfWorkFactory     = unitOfWorkFactory;
     this.UserService           = userService;
     this.AdminService          = adminService;
     this.MarketingService      = marketingService;
     this.BrewDataService       = brewDataService;
     this.BeerStyleService      = beerStyleService;
     this.AffiliateService      = affiliateService;
     this.AuthenticationService = authenticationService;
     this.SendToShopService     = sendToShopService;
 }
Esempio n. 6
0
        public TaskListController(ITaskFilterService taskFilterService,
                                  IProjectsEndpoint projectsEndpoint, ITasksEndpoint tasksEndpoint,
                                  ICommentsEndpoint commentsEndpoint, ISettingsService settingsService,
                                  IMarketingService marketingService, IAnalyticsService analyticsService)
        {
            _taskFilterService = taskFilterService;
            _projectsEndpoint  = projectsEndpoint;
            _tasksEndpoint     = tasksEndpoint;
            _commentsEndpoint  = commentsEndpoint;
            _settingsService   = settingsService;
            _pageSize          = settingsService.Settings.PageSize;

            // this is here to simulate stored data, for cookie policy interaction.
            marketingService.SaveMarketingData("Some Marketing Data");
            analyticsService.SaveAnalyticsData("Some Analytics Data");
        }
Esempio n. 7
0
 /// <summary>
 /// ctor the Mighty
 /// </summary>
 public RootController(IUnitOfWorkFactory <BrewgrContext> unitOfWorkFactory, IUserLoginService userLoginService,
                       IAuthenticationService authService, IUserResolver userResolver, IOAuthService oAuthService, IUserService userService,
                       ISearchService searchService, IFacebookConnectSettings facebookConnectSettings, IMarketingService marketingService,
                       IRecipeService recipeService, IEmailMessageFactory emailMessageFactory, IEmailSender emailSender, ISeoSitemap seoSitemap)
 {
     this.UnitOfWorkFactory       = unitOfWorkFactory;
     this.UserLoginService        = userLoginService;
     this.AuthService             = authService;
     this.UserResolver            = userResolver;
     this.OAuthService            = oAuthService;
     this.UserService             = userService;
     this.SearchService           = searchService;
     this.FacebookConnectSettings = facebookConnectSettings;
     this.MarketingService        = marketingService;
     this.RecipeService           = recipeService;
     this.EmailMessageFactory     = emailMessageFactory;
     this.EmailSender             = emailSender;
     this.SeoSitemap = seoSitemap;
 }
Esempio n. 8
0
		/// <summary>
		/// ctor the Mighty
		/// </summary>
		public RootController(IUnitOfWorkFactory<BrewgrContext> unitOfWorkFactory, IUserLoginService userLoginService, 
			IAuthenticationService authService, IUserResolver userResolver, IOAuthService oAuthService, IUserService userService,
			ISearchService searchService, IFacebookConnectSettings facebookConnectSettings, IMarketingService marketingService,
			IRecipeService recipeService, IEmailMessageFactory emailMessageFactory, IEmailSender emailSender, ISeoSitemap seoSitemap)
		{
			this.UnitOfWorkFactory = unitOfWorkFactory;
			this.UserLoginService = userLoginService;
			this.AuthService = authService;
			this.UserResolver = userResolver;
			this.OAuthService = oAuthService;
			this.UserService = userService;
			this.SearchService = searchService;
			this.FacebookConnectSettings = facebookConnectSettings;
			this.MarketingService = marketingService;
			this.RecipeService = recipeService;
			this.EmailMessageFactory = emailMessageFactory;
			this.EmailSender = emailSender;
			this.SeoSitemap = seoSitemap;
		}
Esempio n. 9
0
 public TokenController(IMarketingService marketingService, IConfiguration configuration)
 {
     _configuration    = configuration;
     _marketingService = marketingService;
 }
Esempio n. 10
0
 public ApiMarketingController(IWorkContextAccessor workContextAccessor, IStorefrontUrlBuilder urlBuilder, IMarketingService marketingService)
     : base(workContextAccessor, urlBuilder)
 {
     _marketingService = marketingService;
 }
Esempio n. 11
0
 public IAPSearchService(ICatalogService iCatalogService, IMarketingService iMarketingService)
 {
     _iCategryService   = iCatalogService;
     _iMarketingService = iMarketingService;
 }
		/// <summary>
		/// ctor the Mighty
		/// </summary>
		public MarketingController(IUnitOfWorkFactory<BrewgrContext> unitOfWorkFactory, IMarketingService marketingService)
		{
			this.UnitOfWorkFactory = unitOfWorkFactory;
			this.MarketingService = marketingService;
		}
 public MarketingController(IMarketingService objSvc)
 {
     this.objSvc = objSvc as MarketingService;
 }
 public ApiMarketingController(WorkContext workContext, IStorefrontUrlBuilder urlBuilder, IMarketingService marketingService)
     : base(workContext, urlBuilder)
 {
     _marketingService = marketingService;
 }
Esempio n. 15
0
 /// <summary>
 /// ctor the Mighty
 /// </summary>
 public MarketingController(IUnitOfWorkFactory <BrewgrContext> unitOfWorkFactory, IMarketingService marketingService)
 {
     this.UnitOfWorkFactory = unitOfWorkFactory;
     this.MarketingService  = marketingService;
 }
Esempio n. 16
0
 public CartBuilder(IShoppingCartModuleApi cartApi, IMarketingService marketingService, ICacheManager <object> cacheManager)
 {
     _cartApi          = cartApi;
     _marketingService = marketingService;
     _cacheManager     = cacheManager;
 }