public void Student_GetAll()
        {
            StudentDAO      dao         = new StudentDAO();
            List <Students> allStudents = dao.GetAll();

            Assert.NotNull(allStudents);
        }
        /** METODE ZA ISPIS STUDENATA ****/
        // Ispisi sve studente
        public static void IspisiSveStudente()
        {
            List <Student> sviStudenti = StudentDAO.GetAll(Program.conn);

            for (int i = 0; i < sviStudenti.Count; i++)
            {
                Console.WriteLine(sviStudenti[i]);
            }
        }
示例#3
0
 public List <Student> GetStudentList()
 {
     return(studentDAO.GetAll());
 }
示例#4
0
 public List <Student> GetAll()
 {
     _studentDAO = new StudentDAO();
     return(_studentDAO.GetAll());
 }