Esempio n. 1
0
        public DirectoryPage AddPage(string title, string body)
        {
            var x = new DirectoryPage {
                Title = title, Body = body
            };

            _directoryPages.Add(x);
            return(x);
        }
Esempio n. 2
0
        public DirectoryPage AddPage(string title)
        {
            var x = new DirectoryPage {
                Title = title
            };

            _directoryPages.Add(x);
            return(x);
        }