public void RemoveReferenceByCategoryId(int categoryId) { ReferenceList.RemoveAll(x => x.CategoryId == categoryId); }
public void RemoveReferenceByGoodId(int goodId) { ReferenceList.RemoveAll(x => x.GoodId == goodId); }