ПИбд-24 Ивлеев Д.А. Лабораторная работа 1 #1

Open
Pyro wants to merge 12 commits from Lab1 into main
3 changed files with 3 additions and 3 deletions
Showing only changes of commit 743d2e7174 - Show all commits

View File

@ -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()

View File

@ -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()

View File

@ -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()