Compare commits

...

2 Commits

Author SHA1 Message Date
6b6c9ae047 Merge pull request 'L3 правочка' (#12) from laba3 into laba3Complicated
Reviewed-on: #12
2024-03-11 09:42:20 +04:00
ca53b86051 L3 правочка 2024-03-11 08:58:41 +04:00

View File

@ -16,7 +16,7 @@ namespace AutomobilePlantDatabaseImplement.Models
public double Cost { get; set; } public double Cost { get; set; }
[ForeignKey("ComponentId")] [ForeignKey("ComponentId")]
public virtual List<CarComponent> ProductComponents { get; set; } = new(); public virtual List<CarComponent> CarComponents { get; set; } = new();
public static Component? Create(ComponentBindingModel model) public static Component? Create(ComponentBindingModel model)
{ {