fix(2)
This commit is contained in:
parent
b94c1cd942
commit
ed62ab83c4
@ -104,11 +104,11 @@ namespace ShipyardListImplement.Implements
|
||||
private OrderViewModel GetViewModel(Order order)
|
||||
{
|
||||
var viewModel = order.GetViewModel;
|
||||
foreach (var iceCream in _source.Ships)
|
||||
foreach (var ship in _source.Ships)
|
||||
{
|
||||
if (iceCream.Id == order.ShipId)
|
||||
if (ship.Id == order.ShipId)
|
||||
{
|
||||
viewModel.ShipName = iceCream.ShipName;
|
||||
viewModel.ShipName = ship.ShipName;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user