protected void BuyButton_Click(object sender, EventArgs e) { mycarshop.AddCarToList(new Car(BrandBox.Text, Convert.ToInt32(YearBox.Text))); }
protected void BuyButton_Click(object sender, EventArgs e) { mycarshop.AddCarToList(new Car(BrandBox.Text, Convert.ToInt32(YearBox.Text))); }