Пример #1
0
 public IEnumerable <Reference> SelectReferenceByGoodId(int goodId)
 {
     return(ReferenceList.Where(x => x.GoodId == goodId));
 }
Пример #2
0
 public IEnumerable <Reference> SelectReferenceByCategoryId(int categoryId)
 {
     return(ReferenceList.Where(x => x.CategoryId == categoryId));
 }