예제 #1
0
 public ProductViewModel()
 {
     _productView       = ProductFactory.createProduct();
     _productRepository = new ProductRepository();
 }
예제 #2
0
 private void Save()
 {
     _productRepository.AddProduct(ProductFactory.createProduct(1234, ProductNumber, ProductName, Ean, PricePurchase, PriceSale, 1, 1));
 }