Agliullov D. A. Lab Work 3 Base #6

Closed
d.agliullov wants to merge 10 commits from Lab3_Base into Lab2_Base
Showing only changes of commit 992ccc3f38 - 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,