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

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


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

            PrintJoinAll(topics);
        }