コード例 #1
0
ファイル: bn_ProductTag.cs プロジェクト: tampham47/juddy.vn
        //for this product
        public pb_ProductTag GetByUserAndTagId(Guid userId, Guid hashTagId)
        {
            var result = db.pb_ProductTag_GetbyUserAndTag(
                productId,
                userId,
                hashTagId).ToList();

            if (result.Count > 0)
            {
                return(result.First());
            }
            else
            {
                return(null);
            }
        }