public bool Exists(CartItem Item) { if (listItem.Contains(Item)) return true; else return false; }
public void Remove(CartItem Item) { if (Exists(Item)) listItem.Remove(Item); }
public CartItem Find(CartItem Item) { return listItem.Find(o => o.Equals(Item)); }
public void Add(CartItem Item) { Remove(Item); listItem.Add(Item); }
public CartItem Find(CartItem Item) { return(listItem.Find(o => o.Equals(Item))); }