public void MakeIdsForDishes() { int i = 0; foreach (var item in this.Dishes) { item.Id = i; i++; } }