//public CarShowroom CarShowroom { get; set; } public Vehicle(string mark, string model, string Condition, double price, int year, double mileage, double engineCapacity, string SalonName, CarShowroom cr) { this.Mark = mark; this.Model = model; this.Condition = Condition; this.Price = price; this.ProductionYear = year; this.Mileage = mileage; this.EngineCapacity = engineCapacity; this.SalonName = SalonName; this.Booked = false; //this.CarShowroom = cr; }
public void AddCenter(string name, CarShowroom carshowroom) { this.salons.Add(carshowroom); }