diff --git a/AutomobilePlant/AutomobilePlantDatabaseImplement/Models/Component.cs b/AutomobilePlant/AutomobilePlantDatabaseImplement/Models/Component.cs index 8be9f6f..4793485 100644 --- a/AutomobilePlant/AutomobilePlantDatabaseImplement/Models/Component.cs +++ b/AutomobilePlant/AutomobilePlantDatabaseImplement/Models/Component.cs @@ -16,7 +16,7 @@ namespace AutomobilePlantDatabaseImplement.Models public double Cost { get; set; } [ForeignKey("ComponentId")] - public virtual List ProductComponents { get; set; } = new(); + public virtual List CarComponents { get; set; } = new(); public static Component? Create(ComponentBindingModel model) {