PIbd-21. Putincev D.M. Lab work 02 #2
Loading…
x
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 AddDishName(OrderViewModel model)
{
var selectedDish = source.Dishs.FirstOrDefault(x => x.Id == model.DishId);
if (selectedDish != null)
Можно без if: viewModel.<Название продукта> = <элемент>?.<Название продукта>;
Pull request closed