PIbd-21 Yakovlev M.G. lab work 2 #2
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "Lab2_Base"
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?
PIbd-21 Yakovlev M.G. lab work 1to PIbd-21 Yakovlev M.G. lab work 2PIbd-21 Yakovlev M.G. lab work 2to WIP: PIbd-21 Yakovlev M.G. lab work 2WIP: PIbd-21 Yakovlev M.G. lab work 2to PIbd-21 Yakovlev M.G. lab work 2Проверено
@ -0,0 +75,4 @@
public OrderViewModel GetFullOrder(OrderViewModel model)
{
string? RepairName = source.Repairs.FirstOrDefault(x => x.Id == model.RepairId)?.RepairName;
if(RepairName != null) {
Можно без if: viewModel.<Название продукта> = <элемент>?.<Название продукта>;
Pull request closed