public ProductService(GetACamContext getACamContext, IRepository <Product> productRepository, IUnitOfWork unitOfWork, ICategoryService categoryService, IMapper mapper) { this.getACamContext = getACamContext; this.productRepository = productRepository; this.unitOfWork = unitOfWork; this.categoryService = categoryService; this.mapper = mapper; }
public ShoppingCart(GetACamContext getACamContext) { this.getACamContext = getACamContext; }