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

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