ReadOnly-Propery IsAlcoholic ergänzt
This commit is contained in:
parent
2d71eac005
commit
468824c786
@ -11,6 +11,12 @@
|
||||
|
||||
public int Counter { get; set; }
|
||||
|
||||
public bool IsAlcoholic { get
|
||||
{
|
||||
return Cocktailflaschen.Any(f => f.Flasche.Alkoholisch);
|
||||
}
|
||||
}
|
||||
|
||||
public List<CocktailFlasche> Cocktailflaschen { get; set; } = new();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user