This commit is contained in:
revengel66 2024-03-12 21:53:26 +04:00
parent acab140234
commit 8eb0bd1a2b

View File

@ -9,11 +9,7 @@ namespace PizzeriaListImplement.Models
public int Id { get; private set; }
public string PizzaName { get; private set; } = string.Empty;
public double Price { get; private set; }
public Dictionary<int, (IComponentModel, int)> PizzaComponents
{
get;
private set;
} = new Dictionary<int, (IComponentModel, int)>();
public Dictionary<int, (IComponentModel, int)> PizzaComponents { get; private set; } = new Dictionary<int, (IComponentModel, int)>();
public static Pizza? Create(PizzaBindingModel? model)
{
if (model == null)