示例#1
0
        private void FillCompatibles(GoodsItem goodsItem)
        {
            var compIds = _compatibleSetGoodsGateway.SelectByGoods(goodsItem.HeartId).Select(x => x.CompatibleSetId);
            var comps   = compIds.Select(x => _shopCompatiblesService.GetCompatibleSet(x)).ToList();

            goodsItem.CompatibleGoods = comps;
        }
示例#2
0
 public CompatibleSet Get(int compatibleSetId)
 {
     return(_shopCompatiblesService.GetCompatibleSet(compatibleSetId));
 }