Merge branch 'Lab2_Base' into Lab2_Hard
This commit is contained in:
commit
d880c7469c
@ -74,6 +74,7 @@ namespace ConfectioneryFileImplement.Models
|
|||||||
}
|
}
|
||||||
public OrderViewModel GetViewModel => new()
|
public OrderViewModel GetViewModel => new()
|
||||||
{
|
{
|
||||||
|
PastryName = DataFileSingleton.GetInstance().Pastries.FirstOrDefault(x => x.Id == PastryId)?.PastryName ?? string.Empty,
|
||||||
PastryId = PastryId,
|
PastryId = PastryId,
|
||||||
Count = Count,
|
Count = Count,
|
||||||
Sum = Sum,
|
Sum = Sum,
|
||||||
|
Loading…
Reference in New Issue
Block a user