1
This commit is contained in:
parent
acab140234
commit
8eb0bd1a2b
@ -9,11 +9,7 @@ namespace PizzeriaListImplement.Models
|
|||||||
public int Id { get; private set; }
|
public int Id { get; private set; }
|
||||||
public string PizzaName { get; private set; } = string.Empty;
|
public string PizzaName { get; private set; } = string.Empty;
|
||||||
public double Price { get; private set; }
|
public double Price { get; private set; }
|
||||||
public Dictionary<int, (IComponentModel, int)> PizzaComponents
|
public Dictionary<int, (IComponentModel, int)> PizzaComponents { get; private set; } = new Dictionary<int, (IComponentModel, int)>();
|
||||||
{
|
|
||||||
get;
|
|
||||||
private set;
|
|
||||||
} = new Dictionary<int, (IComponentModel, int)>();
|
|
||||||
public static Pizza? Create(PizzaBindingModel? model)
|
public static Pizza? Create(PizzaBindingModel? model)
|
||||||
{
|
{
|
||||||
if (model == null)
|
if (model == null)
|
||||||
|
Loading…
Reference in New Issue
Block a user