public ProductService(string connectionString)
 {
     connectionManager = new ConnectionManager(connectionString);
     productRepository = new ProductRepository(connectionManager);
 }
Beispiel #2
0
 public ShowProducts()
 {
     product = new ProductRepository();
 }