PIbd-22_Kurbanova_A.A._LabWork.2 #2 #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 +25,4 @@
private OrderViewModel DefinePrintedName(OrderViewModel model)
{
string? printedName = source.Printeds.FirstOrDefault(x => model.PrintedId == x.Id)?.PrintedName;
if (printedName != null)
Можно без if: viewModel.<Название продукта> = <элемент>?.<Название продукта>;
Pull request closed