コード例 #1
0
        protected IList <Guid> GetPubIdsFromCat(string catId)
        {
            var catResult = _feedManager.GetCategory(new Guid(catId));

            if (catResult == null)
            {
                return(new List <Guid>());
            }

            return(catResult.Feeds.Select(f => f.Publisher.Id).Distinct().ToList());
        }