Exemple #1
0
        //Remove
        public static void Remove(int id)
        {
            Cheese cheeseToRemove = GetById(id);

            cheeses.Remove(cheeseToRemove);
        }
Exemple #2
0
 //Add
 public static void Add(Cheese newCheese)
 {
     cheeses.Add(newCheese);
 }