//a constructor which sets the managers equal to the factory and what it does public AddOrder(ProductManager pManager, TaxRateManager tManager, OrderManager oManager) { _myProductManager = pManager; _myTaxManager = tManager; _myOrderManager = oManager; }
//the constructor that is used to pull in which repository we are going to work with public EditOrder(OrderManager oManager, ProductManager pManager, TaxRateManager tManager) { _myProductManager = pManager; _myTaxManager = tManager; _myOrderManager = oManager; }