public CategoryManager( ICategoryRepository categoryRepository, IImagePathManager imagePathManager = null) { _categoryRepository = categoryRepository; _imagePathManager = imagePathManager;//service to get images for categories }
public BrandManager(IBrandRepository brandRepository, IProductRepository productRepository, IImagePathManager imagePathManager = null) { _brandRepository = brandRepository; _productRepository = productRepository; //manager to get images for brands _imagePathManager = imagePathManager; }