Carrotware.CMS.Core.ContentPageHelper.GetLatestPosts C# (CSharp) Метод

GetLatestPosts() публичный Метод

public GetLatestPosts ( System.Guid siteID, int iUpdates, bool bActiveOnly ) : List
siteID System.Guid
iUpdates int
bActiveOnly bool
Результат List
        public List<ContentPage> GetLatestPosts(Guid siteID, int iUpdates, bool bActiveOnly)
        {
            List<ContentPage> lstContent = (from ct in CannedQueries.GetLatestBlogList(db, siteID, bActiveOnly)
                                            orderby ct.GoLiveDate descending
                                            select new ContentPage(ct)).Take(iUpdates).ToList();

            return lstContent;
        }