public Student AddStudent(Student student) { StudentDao = new StudentDao(); int isStudentAdded = StudentDao.AddStudent(student); if (isStudentAdded == 1) return student; return null; }
public List<Student> GetStudents() { StudentDao = new StudentDao(); return StudentDao.GetStudents(); }
public Student GetStudent(string studentId) { StudentDao = new StudentDao(); return StudentDao.GetStudent(studentId); }