Пример #1
0
 public CarModifierModel(int carYear, CarColorModel carColor, Car car, CarModel carModel)
 {
     CarYear  = carYear;
     CarColor = carColor;
     Car      = car;
     CarModel = carModel;
 }
Пример #2
0
 public static CarModifierModel Create(int carYear, CarColorModel carColorModels, Car car, CarModel carModel)
 => new CarModifierModel(carYear, carColorModels, car, carModel);