Compare commits
2 Commits
6df864ade2
...
430b73b572
Author | SHA1 | Date | |
---|---|---|---|
430b73b572 | |||
|
022039bbb9 |
@ -17,9 +17,9 @@ namespace ComputersShopDatabaseImplement.Implements
|
||||
.ToList();
|
||||
foreach (var order in orderList)
|
||||
{
|
||||
string manufactureName = context.Computers
|
||||
string computerName = context.Computers
|
||||
.SingleOrDefault(x => x.Id == order.ComputerId)?.ComputerName ?? string.Empty;
|
||||
order.ComputerName = manufactureName;
|
||||
order.ComputerName = computerName;
|
||||
}
|
||||
return orderList;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user