public ShoppingController(
     CategoryProvider categoryProvider,
     ProductProvider productProvider,
     TagProvider tagProvider,
     AreaProvider areaProvider,
     PaymentMethodProvider paymentMethodProvider,
     AddressTypeProvider addressTypeProvider,
     OrderProvider orderProvider,
     PersonProvider personProvider,
     CartManager cartManager,
     BankProvider bankProvider,
     DeliveryTimeProvider deliveryTimeProvider)
 {
     this.categoryProvider      = categoryProvider;
     this.productProvider       = productProvider;
     this.tagProvider           = tagProvider;
     this.areaProvider          = areaProvider;
     this.cartManager           = cartManager;
     this.addressTypeProvider   = addressTypeProvider;
     this.paymentMethodProvider = paymentMethodProvider;
     this.personProvider        = personProvider;
     this.orderProvider         = orderProvider;
     this.deliveryTimeProvider  = deliveryTimeProvider;
     this.bankProvider          = bankProvider;
 }
 public CartManager(
     ProductProvider productProvider,
     AreaProvider areaProvider,
     DeliveryTimeProvider deliveryTimeProvider,
     IPrincipal principal)
 {
     this.productProvider      = productProvider;
     this.principal            = principal;
     this.areaProvider         = areaProvider;
     this.deliveryTimeProvider = deliveryTimeProvider;
 }
Exemple #3
0
 public DeliveryTimeController(DeliveryTimeProvider deliveryTimeProvider)
 {
     this.deliveryTimeProvider = deliveryTimeProvider;
 }