Compare commits

..

No commits in common. "bcac7fa1e138d01d8d3e0f86519f5b25f41a74e5" and "54d9bc4c6a0c6c694ca6c6a3e924d23f802451be" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

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

View File

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