edit code

This commit is contained in:
revengel66 2024-06-21 17:20:23 +04:00
parent bcac7fa1e1
commit 69b2c056c3
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ namespace PizzeriaListImplement
Orders = new List<Order>();
Pizzas = new List<Pizza>();
Clients = new List<Client>();
Implementers = new List<Implementer>();
Implementers = new List<Implementer>();
}
public static DataListSingleton GetInstance()
{

View File

@ -63,7 +63,7 @@ namespace PizzeriaListImplement.Implements
else if (model.ClientId.HasValue && !model.Id.HasValue)
{
foreach (var order in _source.Orders)
{
{
if (order.ClientId == model.ClientId)
{
result.Add(GetViewModel(order));