Beispiel #1
0
 public void RemoveIngredientCategory(IngredientCategory ic)
 {
     foreach (var i in Ingredients)
     {
         i.Categories.RemoveAll(s => s.Name == ic.Name);
     }
     IngredientCategories.RemoveAll(s => s.Name == ic.Name);
 }
Beispiel #2
0
 public void RemoveIngredientCategory(IngredientCategory ic)
 {
     foreach (var i in Ingredients)
     {
         i.Categories.RemoveAll(s => s.Name == ic.Name);
     }
     IngredientCategories.RemoveAll(s => s.Name == ic.Name);
 }