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(); }