public CarBusiness(UserBusiness user, BrandBusiness brand, ModelBusiness model, string vin, string registrationPlateNumber, ColorBusiness color) { this.User = user; this.Brand = brand; this.Model = model; this.VIN = vin; this.RegistrationPlateNumber = registrationPlateNumber; this.Color = color; this.RepairWorks = new List <RepairWorkBusiness>(); }
public ModelBusiness(string name, BrandBusiness brand) { this.Name = name; this.Brand = brand; }