diff --git a/ComputerStoreDatabaseImplement/Models/Product.cs b/ComputerStoreDatabaseImplement/Models/Product.cs index 9369614..ef96852 100644 --- a/ComputerStoreDatabaseImplement/Models/Product.cs +++ b/ComputerStoreDatabaseImplement/Models/Product.cs @@ -45,8 +45,8 @@ namespace ComputerStoreDatabaseImplement.Models public virtual List Components { get; set; } = new(); [ForeignKey("ProductID")] - public virtual List Consignments { get; set; } = new(); - + public virtual List Consignments { get; set; } = new(); + public virtual Employee Employee { get; set; } public static Product Create(ComputerStoreDatabase context, ProductBindingModel model) {