/// <summary>
 /// CTR
 /// </summary>
 /// <param name="themes"></param>
 public CheckoutController(ICartService carts, ThemeService themes, ITaxService taxes, IShippingService shipping)
 {
     _CartService = carts;
     _ThemeService = themes;
     _TaxService = taxes;
     _ShippingService = shipping;
 }
Beispiel #2
0
        /// <summary>
        /// CTR
        /// </summary>
        /// <param name="themes"></param>
        public CartController(ThemeService themes, ICartService carts)
        {
            if (themes == null) throw new ArgumentNullException("themes");
            if (carts == null) throw new ArgumentNullException("carts");

            _ThemeService = themes;
            _CartService = carts;
        }
        /// <summary>
        /// CTR
        /// </summary>
        /// <param name="themes"></param>
        public CollectionController(ThemeService themes)
        {
            if (themes == null) throw new ArgumentNullException("themes");

            _ThemeService = themes;
        }