public void removeWish(Wish wish) { foreach (var wishes in wishList) { if (wish.Equals(wishes)) { wishList.Remove(wish); } } }
public void registerWish(string URL) { Wish wish = new Wish(URL); wishList.Add(wish); }