public void OverrideWith(DataSourceProperties overridingProperties)
        {
            if (overridingProperties == null)
            {
                return;
            }

            SourceName = overridingProperties.SourceName;

            TyreCompoundsProperties.RemoveAll(x => overridingProperties.TyreCompoundsProperties.Any(f => f.CompoundName == x.CompoundName));
            TyreCompoundsProperties.AddRange(overridingProperties.TyreCompoundsProperties);
            CarModelsProperties.RemoveAll(x => overridingProperties.CarModelsProperties.Any(f => f.Name == x.Name));
            CarModelsProperties.AddRange(overridingProperties.CarModelsProperties);
        }
 public void ReplaceCarModel(CarModelProperties replaceCarModelProperties)
 {
     CarModelsProperties.RemoveAll(x => x.Name == replaceCarModelProperties.Name);
     CarModelsProperties.Add(replaceCarModelProperties);
 }