예제 #1
0
        public void GetAllTopic()
        {
            TopicDal a  = new TopicDal(connectionString);
            var      gl = a.GetAll();

            Assert.IsTrue(gl.Count == 0 || gl[0].ID != -1);
        }
예제 #2
0
        public List <(long ID, string FullName, string Title, string Text)> GetAll()
        {
            var topics = topicDal.GetAll();


            return(GetJoinAll(topics));
        }
예제 #3
0
        static void PrintAll()
        {
            var topics = topicDal.GetAll();

            PrintJoinAll(topics);
        }