Merge branch 'Lab2_Base' into Lab2_Hard

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

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,