From ca53b860514157cf949dd5fdb52e17e5ad8e64f1 Mon Sep 17 00:00:00 2001 From: Timourka Date: Mon, 11 Mar 2024 08:58:41 +0400 Subject: [PATCH] =?UTF-8?q?L3=20=D0=BF=D1=80=D0=B0=D0=B2=D0=BE=D1=87=D0=BA?= =?UTF-8?q?=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AutomobilePlantDatabaseImplement/Models/Component.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.25.1