public void RemoveReference(int goodId, int categoryId) { ReferenceList.Remove(ReferenceList.Find(x => x.GoodId == goodId && x.CategoryId == categoryId)); }
public void RemoveReference(int goodId, int categoryId) { ReferenceList.Remove(ReferenceList.Find(x => x.GoodId == goodId && x.CategoryId == categoryId)); }