Example #1
0
 public ShoppingCartController(
     IOptions <PaymentProcessConfig> paymentProcessConfig,
     UserManager <ApplicationUser> userManager,
     IShoppingCartServices shoppingCartServices,
     ILogger <ShoppingCartController> logger,
     IUrlHelper urlHelper
     ) : base(logger, urlHelper)
 {
     _paymentProcessConfig = paymentProcessConfig.Value;
     _shoppingCartServices = shoppingCartServices;
     _userManager          = userManager;
 }
Example #2
0
 public ShoppingCartController(IShoppingCartServices services, IProductsServices productsServices)
 {
     _services         = services;
     _productsServices = productsServices;
 }
 public OrderServices(TuringContext context, IShoppingCartServices shoppingCartService)
 {
     _context             = context;
     _shoppingCartService = shoppingCartService;
 }
 public ShoppingCartController(IShoppingCartServices services)
 {
     shoppingCartServices = services;
 }
Example #5
0
 public ShoppingCartController(IShoppingCartServices shoppingService)
 {
     this.shoppingService = shoppingService;
 }