This commit is contained in:
Glliza 2024-12-23 12:01:19 +04:00
parent 6fffea02f7
commit 29752b766c

View File

@ -14,11 +14,6 @@ public class Product
public string NameOfShoes { get; private set; }
public ManufacturingCompany ManufacturingCompany { get; private set; }
public int Price { get; private set; }
public IEnumerable<ProductSale> Sales
{
get;
private set;
} = [];
public static Product CreateEntity(int id, string nameOfShoes, ManufacturingCompany manufacturingCompany, int price)
{
return new Product