public ShippingRateRepository(LoggerRepository logger)
        {
            var connectionString = ConfigurationManager.ConnectionStrings["InventoryConnection"].ConnectionString;

            _connection  = new MySqlConnection(connectionString);
            _logger      = logger;
            _imageHelper = new ImageHelper(new PersistenceHelper());
        }
예제 #2
0
 public VendorProductRepository(LoggerRepository logger)
 {
     _logger            = logger;
     _productRepository = new ProductRepository(_logger);
 }