public void RemoveItems() { foreach (var item in CommercialItems.ToList()) { CommercialItems.Remove(item); } }
public void RemoveItem(Guid itemId) { var item = CommercialItems .Where(Item => Item.ItemGuid == itemId) .FirstOrDefault(); if (item != null) { CommercialItems.Remove(item); } }