ReadOnly-Propery IsAlcoholic ergänzt

This commit is contained in:
BuildTools 2024-03-02 22:09:24 +01:00
parent 2d71eac005
commit 468824c786

View File

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