Exemplo n.º 1
0
 internal IList<CmsContent> GetAllContent(Data.Guid siteGuid)
 {
     CmsContentDao dao = new CmsContentDao();
     return dao.FindAllContent(siteGuid);
 }
Exemplo n.º 2
0
        public IList<CmsContent> GetExistingContent(Data.Guid siteGuid, CmsContentType filter)
        {
            CmsContentDao dao = new CmsContentDao();
            IList<CmsContent> results;
            if (filter == null)
            {
                results = dao.FindAllContent(siteGuid);
            }
            else
            {
                results = dao.FindContentByType(siteGuid,filter);
            }

            return results;
        }