Exemplo n.º 1
0
 public ErrorController(IDomain domainService,
     IWebContent webContentService,
     IECommerce ecommerceService,
     IUser userService)
     : base(domainService, ecommerceService, userService, webContentService)
 {
 }
Exemplo n.º 2
0
 public ErrorController(IDomain domainService,
                        IWebContent webContentService,
                        IECommerce ecommerceService,
                        IUser userService)
     : base(domainService, ecommerceService, userService, webContentService)
 {
 }
Exemplo n.º 3
0
        public SagePayController(IDomain domainService,
            IECommerce ecommerceService,
            IUser userService,
            IWebContent webContentService)
            : base(domainService, ecommerceService, userService, webContentService)
        {
            this.DomainService = domainService;
            this.ECommerceService = ecommerceService;
            this.UserService = userService;

            switch (this.DomainService.GetSettingsValue(BL.SettingsKey.sagePayMode, this.DomainID).ToLowerInvariant())
            {
                case "test":
                    ServerMode = VspServerMode.Test;
                    break;
                case "live":
                    ServerMode = VspServerMode.Live;
                    break;
                default:
                    ServerMode = VspServerMode.Simulator;
                    break;
            }

            switch (this.DomainService.GetSettingsValue(BL.SettingsKey.sagePayMethod, this.DomainID).ToLowerInvariant())
            {
                case "direct":
                    PaymentType = PaymentType.Direct;
                    break;
                default:
                    PaymentType = PaymentType.Server;
                    break;
            }
        }
Exemplo n.º 4
0
 public PayPalController(IDomain domainService,
     IECommerce ecommerceService,
     IUser userService,
     IWebContent webContentService)
     : base(domainService, ecommerceService, userService, webContentService)
 {
     this.DomainService = domainService;
     this.ECommerceService = ecommerceService;
     this.UserService = userService;
 }
Exemplo n.º 5
0
 public PayPalController(IDomain domainService,
                         IECommerce ecommerceService,
                         IUser userService,
                         IWebContent webContentService)
     : base(domainService, ecommerceService, userService, webContentService)
 {
     this.DomainService    = domainService;
     this.ECommerceService = ecommerceService;
     this.UserService      = userService;
 }
Exemplo n.º 6
0
 public StripeController(IDomain domainService,
     IECommerce ecommerceService,
     IUser userService,
     IWebContent webContentService,
     IStripe stripeService)
     : base(domainService, ecommerceService, userService, webContentService)
 {
     _domainService = domainService;
     _eCommerceService = ecommerceService;
     _stripeService = stripeService;
 }
Exemplo n.º 7
0
 public StripeController(IDomain domainService,
                         IECommerce ecommerceService,
                         IUser userService,
                         IWebContent webContentService,
                         IStripe stripeService)
     : base(domainService, ecommerceService, userService, webContentService)
 {
     _domainService    = domainService;
     _eCommerceService = ecommerceService;
     _stripeService    = stripeService;
 }
Exemplo n.º 8
0
 public AdmnController(IUser userService,
     IDomain domainService,
     IWebContent webContentService,
     IWebPages webPagesService,
     IECommerce ecommerceService,
     IPOI poiService,
     ITemplate templateService,
     IPortfolio portfolioService,
     IGallery galleryService)
     : base(domainService)
 {
     this.UserService = userService;
     this.DomainService = domainService;
     this.WebContentService = webContentService;
     this.WebPagesService = webPagesService;
     this.ECommerceService = ecommerceService;
     this.POIService = poiService;
     this.TemplateService = templateService;
     this.PortfolioService = portfolioService;
     this.GalleryService = galleryService;
 }
Exemplo n.º 9
0
        public SagePayController(IDomain domainService,
                                 IECommerce ecommerceService,
                                 IUser userService,
                                 IWebContent webContentService)
            : base(domainService, ecommerceService, userService, webContentService)
        {
            this.DomainService    = domainService;
            this.ECommerceService = ecommerceService;
            this.UserService      = userService;

            switch (this.DomainService.GetSettingsValue(BL.SettingsKey.sagePayMode, this.DomainID).ToLowerInvariant())
            {
            case "test":
                ServerMode = VspServerMode.Test;
                break;

            case "live":
                ServerMode = VspServerMode.Live;
                break;

            default:
                ServerMode = VspServerMode.Simulator;
                break;
            }

            switch (this.DomainService.GetSettingsValue(BL.SettingsKey.sagePayMethod, this.DomainID).ToLowerInvariant())
            {
            case "direct":
                PaymentType = PaymentType.Direct;
                break;

            default:
                PaymentType = PaymentType.Server;
                break;
            }
        }