Exemplo n.º 1
0
        private static List <Site> getAllSites()
        {
            SiteRepository getAllSites = new SiteRepository();
            List <Site>    listOfSites = getAllSites.GetAllSites();

            return(listOfSites);
        }
        /// <summary>
        /// Gets a generic list of sites in the CMS
        /// </summary>
        /// <returns>A generic list of ISite objects</returns>
        public IList <ISite> GetAllSites()
        {
            var siteData = new SiteRepository();

            return(siteData.GetAllSites());
        }