Исправлены репозитории в соответствии с сущностями
This commit is contained in:
parent
e70c5bfc06
commit
743d2e7174
@ -14,7 +14,7 @@ public class OrderRepository : IOrderRepository
|
||||
|
||||
public Order ReadOrderById(int id)
|
||||
{
|
||||
return Order.CreateEntity(0, 0, false);
|
||||
return Order.CreateOperation(0, 0, false, null);
|
||||
}
|
||||
|
||||
public IEnumerable<Order> ReadOrders()
|
||||
|
@ -15,7 +15,7 @@ public class ProductRepository : IProductRepository
|
||||
|
||||
public Product ReadProductById(int id)
|
||||
{
|
||||
return Product.CreateEntity(0, ConfectionaryType.None, string.Empty, 0);
|
||||
return Product.CreateEntity(0, ConfectionaryType.None, string.Empty, 0, null);
|
||||
}
|
||||
|
||||
public IEnumerable<Product> ReadProducts()
|
||||
|
@ -14,7 +14,7 @@ public class SupplyRepository : ISupplyRepository
|
||||
|
||||
public Supply ReadSupplyById(int id)
|
||||
{
|
||||
return Supply.CreateEntity(0, 0, 0, 0, false);
|
||||
return Supply.CreateOperation(0, 0, 0, 0, false);
|
||||
}
|
||||
|
||||
public IEnumerable<Supply> ReadSupplys()
|
||||
|
Loading…
x
Reference in New Issue
Block a user