Exemplo 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;
        }
 //pass in what type of repository this is going to use
 public DisplayOrder(OrderManager manager)
 {
     _myOrderManager = manager;
 }
Exemplo n.º 3
0
 public RemoveOrder(OrderManager manager)
 {
     _myOrderManager = manager;
 }
Exemplo n.º 4
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;
 }