示例#1
0
 //
 // GET: /Checkout/
 public CheckoutController(IShoppingCartWrapper shoppingCartWrapper, ShoppingCartItemsFactory cartItemsFactory, IJewelRepository jewelRepository, IDiamondRepository diamondRepository, IOrderRepository orderRepository, IMappingEngine mapper, IUserMailer mailer, IAuthentication authentication,ICustomerAccountService accountService)
 {
     this.shoppingCartWrapper = shoppingCartWrapper;
     this.cartItemsFactory = cartItemsFactory;
     this.jewelRepository = jewelRepository;
     this.diamondRepository = diamondRepository;
     this.orderRepository = orderRepository;
     this.mapper = mapper;
     this.mailer = mailer;
     this.authentication = authentication;
     this.accountService = accountService;
 }
示例#2
0
        //
        // GET: /Checkout/

        public CheckoutController(IShoppingCartWrapper shoppingCartWrapper, ShoppingCartItemsFactory cartItemsFactory, IJewelRepository jewelRepository, IDiamondRepository diamondRepository, IOrderRepository orderRepository, IMappingEngine mapper, IUserMailer mailer, IAuthentication authentication, ICustomerAccountService accountService)
        {
            this.shoppingCartWrapper = shoppingCartWrapper;
            this.cartItemsFactory    = cartItemsFactory;
            this.jewelRepository     = jewelRepository;
            this.diamondRepository   = diamondRepository;
            this.orderRepository     = orderRepository;
            this.mapper         = mapper;
            this.mailer         = mailer;
            this.authentication = authentication;
            this.accountService = accountService;
        }