Agliullov D. A. Lab Work 2 Hard #5

Closed
d.agliullov wants to merge 26 commits from Lab2_Hard into Lab1_Hard
Showing only changes of commit 746f5be7a4 - Show all commits

View File

@ -74,6 +74,7 @@ namespace ConfectioneryFileImplement.Models
}
public OrderViewModel GetViewModel => new()
{
PastryName = DataFileSingleton.GetInstance().Pastries.FirstOrDefault(x => x.Id == PastryId)?.PastryName ?? string.Empty,
PastryId = PastryId,
Count = Count,
Sum = Sum,