PIbd-21. Rodionov I.A. Lab work 02 #3
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?
Проверено
@ -0,0 +88,4 @@
private OrderViewModel AddIceCreamName(OrderViewModel model)
{
var selectedIceCream = source.IceCreams.FirstOrDefault(x => x.Id == model.IceCreamId);
if (selectedIceCream != null)
Можно без if: viewModel.<Название продукта> = <элемент>?.<Название продукта>;
Pull request closed