public List <GoodsModel> GetGoods(string key)
        {
            var subscriberId = UserContext.Current.SubscriberId;
            Expression <Func <GoodsEntity, bool> > predicate = s => s.Name.Contains(key);

            return(_goodsSearchRepository.GetGoods(subscriberId, predicate));
        }
        public List <GoodsPropertyModel> Provide(Guid goodsId)
        {
            var subscriberId = UserContext.Current.SubscriberId;
            var goods        = _goodsSearchRepository.GetGoods(subscriberId, goodsId);

            return(_goodsCategoryPropertyProvider.ProvideAssociations(goods.CategoryId));
        }