This commit is contained in:
VictoriaPresnyakova 2023-04-15 19:27:19 +04:00
parent 1ff7f565ff
commit fb400e9ab4

View File

@ -88,7 +88,7 @@ namespace JewelryStoreDatabaseImplement.Models
JewelId = JewelId,
ClientId = ClientId,
ClientFIO = context.Clients.FirstOrDefault(x => x.Id == ClientId)?.ClientFIO ?? string.Empty,
JewelName = JewelName,
JewelName = context.Jewels.FirstOrDefault(x => x.Id == JewelId)?.JewelName ?? string.Empty,
Count = Count,
Sum = Sum,
Status = Status,