Compare commits
4 Commits
54d9bc4c6a
...
bcac7fa1e1
Author | SHA1 | Date | |
---|---|---|---|
|
bcac7fa1e1 | ||
|
f3d5e963c0 | ||
|
1d5fe9188e | ||
|
278dc1ea67 |
@ -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()
|
||||
{
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user