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