public void ReplaceCarModel(CarModelProperties replaceCarModelProperties) { CarModelsProperties.RemoveAll(x => x.Name == replaceCarModelProperties.Name); CarModelsProperties.Add(replaceCarModelProperties); }
public void AddCarModel(CarModelProperties newCarModel) { CarModelsProperties.Add(newCarModel); }