Ejemplo n.º 1
0
        //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;
        }
Ejemplo n.º 2
0
 //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;
 }