ПИбд-22 Боровков М В 2 лабораторная работа #2
@ -70,7 +70,7 @@ namespace SushiBarFileImplement.Implements
|
||||
}
|
||||
return null;
|
||||
}
|
||||
private OrderViewModel AttachSushiName(OrderViewModel model)
|
||||
private OrderViewModel AttachSushiName(OrderViewModel ?model)
|
||||
{
|
||||
if (model == null) { return null; }
|
||||
model.SushiName = source.Sushis.First(x => x.Id == model.SushiId).SushiName;
|
||||
|
Loading…
Reference in New Issue
Block a user