public void AddGuitar(SerialNumberEnum serialNumber, double price, Builder builder, Model model, Type_enum type, Back_WoodEnum backWood, TopWoodEnum topWood) { Guitar guitar = new Guitar(serialNumber, price, builder, model, type, backWood, topWood); guitars.Add(guitar); }
public Guitar(SerialNumberEnum serialNumber, double price, Builder builder, Model model, Type_enum type, Back_WoodEnum backWood, TopWoodEnum topWood) { this.serialNumber = serialNumber; this.price = price; this.builder = builder; this.model = model; this.type = type; this.backWood = backWood; this.topWood = topWood; }