public int MaxDishId() { if (Dishes == null || Dishes.Count == 0) return 0; return Dishes.Max(c => c.Id); }