Мелкие правки.

This commit is contained in:
Programmist73 2023-02-28 00:13:54 +04:00
parent 24d020220c
commit 0f46fbef9f
2 changed files with 4 additions and 1 deletions

View File

@ -85,7 +85,7 @@ namespace BlacksmithWorkshopDatabaseImplement.Implements
Status = x.Status,
DateCreate = x.DateCreate,
DateImplement = x.DateImplement,
//ManufactureName = x.Manufacture.ManufactureName //тут не будет работать
ManufactureName = x.Manufacture.ManufactureName
})
.ToList();
}

View File

@ -27,6 +27,9 @@ namespace BlacksmithWorkshopDatabaseImplement.Models
public DateTime? DateImplement { get; private set; }
//для передачи названия изделия
public virtual Manufacture Manufacture { get; set; }
public static Order? Create(OrderBindingModel model)
{
if (model == null)