Merge branch 'Lab2_Base' into Lab3_Base

This commit is contained in:
Данияр Аглиуллов 2023-02-28 22:01:22 +04:00
commit 992ccc3f38

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,