ПИбд-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;
}
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;
Outdated
Review

Если такого изделия нет, возникнет ошибка!

Если такого изделия нет, возникнет ошибка!