Ejemplo n.º 1
0
 public OrderViewModel()
 {
     this.quattroRepository = new QuattroRepository();
     this.customerRepository = new CustomerRepository();
     this.productRepository = new ProductRepository();
     this._salesHeaderView = SalesFactory.createNewSalesHeader();
     this.selectedProduct = ProductFactory.createProduct();
     selectedCustomer = CustomerFactory.createNew();
 }
 public AllProductsViewModel()
 {
     _productRepository = new ProductRepository();
     _productViewModel = new ProductViewModel();
 }