Exemplo n.º 1
0
 public PricingController(WorkContext workContext, IStorefrontUrlBuilder urlBuilder, IMarketingService marketingService,
                          IPromotionEvaluator promotionEvaluator, IPricingService pricingService)
     : base(workContext, urlBuilder)
 {
     _marketingService   = marketingService;
     _pricingService     = pricingService;
     _promotionEvaluator = promotionEvaluator;
 }
Exemplo n.º 2
0
 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;
 }
Exemplo 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;
		}
Exemplo 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;
 }
Exemplo 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");
        }
Exemplo 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;
 }
Exemplo 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;
		}
Exemplo n.º 9
0
 public TokenController(IMarketingService marketingService, IConfiguration configuration)
 {
     _configuration    = configuration;
     _marketingService = marketingService;
 }
Exemplo n.º 10
0
 public ApiMarketingController(IWorkContextAccessor workContextAccessor, IStorefrontUrlBuilder urlBuilder, IMarketingService marketingService)
     : base(workContextAccessor, urlBuilder)
 {
     _marketingService = marketingService;
 }
Exemplo n.º 11
0
 public IAPSearchService(ICatalogService iCatalogService, IMarketingService iMarketingService)
 {
     _iCategryService   = iCatalogService;
     _iMarketingService = iMarketingService;
 }
Exemplo n.º 12
0
		/// <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;
 }
Exemplo n.º 15
0
 /// <summary>
 /// ctor the Mighty
 /// </summary>
 public MarketingController(IUnitOfWorkFactory <BrewgrContext> unitOfWorkFactory, IMarketingService marketingService)
 {
     this.UnitOfWorkFactory = unitOfWorkFactory;
     this.MarketingService  = marketingService;
 }
Exemplo n.º 16
0
 public CartBuilder(IShoppingCartModuleApi cartApi, IMarketingService marketingService, ICacheManager <object> cacheManager)
 {
     _cartApi          = cartApi;
     _marketingService = marketingService;
     _cacheManager     = cacheManager;
 }