Compare commits

..

No commits in common. "430b73b572772c98b1c247d97472b321d6bc7717" and "6df864ade20e0c8b9bb396da65c5fb7c140f9109" have entirely different histories.

View File

@ -17,9 +17,9 @@ namespace ComputersShopDatabaseImplement.Implements
.ToList();
foreach (var order in orderList)
{
string computerName = context.Computers
string manufactureName = context.Computers
.SingleOrDefault(x => x.Id == order.ComputerId)?.ComputerName ?? string.Empty;
order.ComputerName = computerName;
order.ComputerName = manufactureName;
}
return orderList;
}