public AccountController(ITemplateService templateService, INotificationService notificationService, ISysConfig config, ICartContext cartContext, IProfileService profileService, IOrderService orderService) { _templateService = templateService; _notificationService = notificationService; _config = config; _cartContext = cartContext; _profileService = profileService; _orderService = orderService; }
public CartController(ICartContext cartContext, IProductService productService, IShippingCalculatorService shippingService, IProfileService profileService, IPaymentService paymentService, ISysConfig config, IOrderService orderService, ITemplateService templateService, INotificationService notificationService) { _cartContext = cartContext; _productService = productService; _shippingService = shippingService; _profileService = profileService; _paymentService = paymentService; _config = config; _orderService = orderService; _templateService = templateService; _notificationService = notificationService; }
/// <summary> /// cart controller dependency /// </summary> /// <param name="CartContext">the ICartContext</param> public CartController(ICartContext CartContext) { _CartContext = CartContext; }
public TestController(ICartContext ctx) { context = ctx; }
public OrderService() { _server = new TestServer(new WebHostBuilder() .UseStartup <Webstore.Webservice.OrderApi.Startup>()); this._cartContext = new CartContext(); }
/// <summary> /// Initializes a new instance of the <see cref="CartRepository" /> class. /// </summary> /// <param name="context">The context.</param> public CartRepository(ICartContext context) { this.Context = context; }
/// <summary> /// Initializes a new instance of the <see cref="CartRepository" /> class. /// </summary> /// <param name="context">The context.</param> public CartRepositoryEx(ICartContext context) { this.Context = context; }
public CartController(ICartContext cartCtx) { this._cartCtxt = cartCtx; }
public CartLogic(ICartContext context) { cartRepository = new CartRepository(context); }
public CartContextTest() { _cartCtx = new CartContext(); }
public CartRepository(ICartContext context) { _context = context; }
public CartRepo() { _cartcontext = new CartContext(); }
public CartRepo(ICartContext context) { _cartcontext = context; }
public CartTest() { this._cartContext = new CartContext(); this._productCtx = new ProductContext(); }
public CartsController(ICartContext context) { db = context; }
public CartController(IProductContext productContext, ICartContext cartContext) { productLogic = new ProductLogic(productContext); cartLogic = new CartLogic(cartContext); }