PIbd - 21 Bakalskaya E.D. LabWork02 BASE #2

Closed
ekallin wants to merge 3 commits from LabWork02 into LabWork01
Owner
No description provided.
ekallin added 3 commits 2024-02-26 10:55:21 +04:00
eegov approved these changes 2024-03-03 15:44:57 +04:00
eegov left a comment
Collaborator

Проверено

Проверено
@ -0,0 +75,4 @@
var sushi = source.Sushis.FirstOrDefault(x => x.Id == order.SushiId);
if (sushi != null)
{
viewModel.SushiName = sushi.SushiName;
Collaborator

Можно без if: viewModel.SushiName = sushi?.SushiName;

Можно без if: viewModel.SushiName = sushi?.SushiName;
eegov closed this pull request 2024-03-03 15:45:04 +04:00

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ekallin/PIbd-21_Bakalskaya_E.D._SushiBar#2
No description provided.