diff --git a/Course/Contracts/ViewModels/DetailTimeReport.cs b/Course/Contracts/ViewModels/DetailTimeReport.cs index f67f569..ae475ac 100644 --- a/Course/Contracts/ViewModels/DetailTimeReport.cs +++ b/Course/Contracts/ViewModels/DetailTimeReport.cs @@ -10,6 +10,6 @@ namespace Contracts.ViewModels { public string DetailName { get; set; } = string.Empty; public List Productions { get; set; } = new(); - public List Machines { get; set; } = new(); + public List Products { get; set; } = new(); } } diff --git a/Course/ImplementerApp/Views/Home/DetailTimeReport.cshtml b/Course/ImplementerApp/Views/Home/DetailTimeReport.cshtml index 75c992f..ee20f08 100644 --- a/Course/ImplementerApp/Views/Home/DetailTimeReport.cshtml +++ b/Course/ImplementerApp/Views/Home/DetailTimeReport.cshtml @@ -19,7 +19,7 @@ Деталь - Станки + Изделие Производства @@ -30,9 +30,9 @@ @detail.DetailName
    - @foreach (var machine in detail.Machines) + @foreach (var product in detail.Products) { -
  • @machine
  • +
  • @product
  • }