public CartController(IProductsService productsService, ICartsService cartsService, ICartItemsService cartItemsService, IWebHostEnvironment env) { _productsService = productsService; _cartsService = cartsService; _cartItemsService = cartItemsService; _env = env; }
public CartItemsTests() { var myProfile = new MappingProfile(); var configuration = new MapperConfiguration(cfg => cfg.AddProfile(myProfile)); _mapper = configuration.CreateMapper(); _sut = new CartItemsService(_repositoryMock.Object, configuration.CreateMapper()); }
public CartsService( IDeletableEntityRepository <Cart> cartsRepository, ICartItemsService cartItemsService, IItemsService itemsService, ICouponsService couponsService) { this.cartsRepository = cartsRepository; this.cartItemsService = cartItemsService; this.itemsService = itemsService; this.couponsService = couponsService; }
public CartItemsController( DiscountGrpcService discountGrpcService, ICartItemsService cartItemsService, IRedisCacheService cacheService, IMapper mapper) { _discountGrpcService = discountGrpcService; _cartItemsService = cartItemsService; _cacheService = cacheService; _mapper = mapper; }
public StoreController( IItemsService itemsService, ICartItemsService cartItemsService, ICartsService cartsService, IOrdersService ordersService, IOrderItemsService orderItemsService, UserManager <ApplicationUser> userManager) { this.itemsService = itemsService; this.cartItemsService = cartItemsService; this.cartsService = cartsService; this.ordersService = ordersService; this.orderItemsService = orderItemsService; this.userManager = userManager; }
public CartController(ICartService cartService, ICartItemsService cartItemsService, IPublishEndpoint publishEndpoint) { _cartService = cartService; _cartItemsService = cartItemsService; _publishEndpoint = publishEndpoint; }
public CartItemsController(ICartItemsService cartItemsService) { this.cartItemsService = cartItemsService; }
public CartsController(ICartItemsService cartItemsService, ICartsService cartsService) { _cartItemsService = cartItemsService; _cartsService = cartsService; }
public CartItemsController(ICartItemsService service) { _service = service; }
public OrdersController(IOrdersService ordersService, ICartItemsService cartItemsService) { _ordersService = ordersService; _cartItemsService = cartItemsService; }
public ShoppingCartController(IShoppingCartManager shoppingCartManager, ICartItemsService cartItemsService) { _shoppingCartManager = shoppingCartManager; _cartItemsService = cartItemsService; }