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

Closed
bekodeg wants to merge 20 commits from labWork2 into labWork1
Showing only changes of commit 3c8403a648 - 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;