ПИбд-22 Боровков М В 5 лабораторная работа #6

Closed
bekodeg wants to merge 44 commits from labWork5 into labWork4
Showing only changes of commit ce59934ea9 - Show all commits

View File

@ -70,7 +70,7 @@ namespace SushiBarFileImplement.Implements
} }
return null; return null;
} }
private OrderViewModel AttachSushiName(OrderViewModel model) private OrderViewModel AttachSushiName(OrderViewModel ?model)
{ {
if (model == null) { return null; } if (model == null) { return null; }
model.SushiName = source.Sushis.First(x => x.Id == model.SushiId).SushiName; model.SushiName = source.Sushis.First(x => x.Id == model.SushiId).SushiName;