public UnionController(RandData rand) { this.rand = rand; carHandle = new CarController(rand); custHandle = new CustController(rand); sellHandle = new SellController(rand); }
public UnionController( CarController carHandle, CustController custHandle, SellController sellHandle) { this.carHandle = carHandle; this.custHandle = custHandle; this.sellHandle = sellHandle; }
public UnionController(RandData rand) { this.rand = rand; carHandle = new CarController(rand); custHandle = new CustController(rand); sellHandle = new SellController(rand); listItem = new List <object>(); listUn = listItem.Cast <Deal <Car, Customer, Seller> >().ToList(); }