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)); }
static void PrintAll() { var topics = topicDal.GetAll(); PrintJoinAll(topics); }