public ShippingRateRepository(LoggerRepository logger) { var connectionString = ConfigurationManager.ConnectionStrings["InventoryConnection"].ConnectionString; _connection = new MySqlConnection(connectionString); _logger = logger; _imageHelper = new ImageHelper(new PersistenceHelper()); }
public VendorProductRepository(LoggerRepository logger) { _logger = logger; _productRepository = new ProductRepository(_logger); }