public WhenUpdateProductImage(IProductImageStorage productImageStorage, IMapper mapper, IProductsRepository productsRepository) { _supportedImageTypes = new List <string> { ".jpeg", ".jpg", ".png", ".tiff" }; _productImageStorage = productImageStorage; _mapper = mapper; _productsRepository = productsRepository; }
public WhenDeleteProduct(IProductsRepository productsRepository, IProductImageStorage productImageStorage) { _productsRepository = productsRepository; _productImageStorage = productImageStorage; }