PIbd - 21 Bakalskaya E.D. LabWork02 BASE #2
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "LabWork02"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Проверено
@ -0,0 +75,4 @@
var sushi = source.Sushis.FirstOrDefault(x => x.Id == order.SushiId);
if (sushi != null)
{
viewModel.SushiName = sushi.SushiName;
Можно без if: viewModel.SushiName = sushi?.SushiName;
Pull request closed