NameChanger

This commit is contained in:
Sergey Kozyrev 2024-04-30 20:24:53 +04:00
parent f6f89d9cfe
commit 7fac66c33b
2 changed files with 4 additions and 4 deletions

View File

@ -10,6 +10,6 @@ namespace Contracts.ViewModels
{ {
public string DetailName { get; set; } = string.Empty; public string DetailName { get; set; } = string.Empty;
public List<string> Productions { get; set; } = new(); public List<string> Productions { get; set; } = new();
public List<string> Machines { get; set; } = new(); public List<string> Products { get; set; } = new();
} }
} }

View File

@ -19,7 +19,7 @@
<thead> <thead>
<tr> <tr>
<th>Деталь</th> <th>Деталь</th>
<th>Станки</th> <th>Изделие</th>
<th>Производства</th> <th>Производства</th>
</tr> </tr>
</thead> </thead>
@ -30,9 +30,9 @@
<td>@detail.DetailName</td> <td>@detail.DetailName</td>
<td> <td>
<ul> <ul>
@foreach (var machine in detail.Machines) @foreach (var product in detail.Products)
{ {
<li>@machine</li> <li>@product</li>
} }
</ul> </ul>
</td> </td>