Example #1
0
 public StudentController(StudentDAO studentDAO,
                          QuestDAO questDAO,
                          OwnedQuestStudentDAO ownedQuestStudentDAO,
                          ClassroomDAO classroomDAO,
                          GroupDAO groupDAO)
 {
     _studentDAO           = studentDAO;
     _questDAO             = questDAO;
     _ownedQuestStudentDAO = ownedQuestStudentDAO;
     _classroomDAO         = classroomDAO;
     _groupDAO             = groupDAO;
 }
 public QuestManagement()
 {
     _ownedStudentDAO = new OwnedQuestStudentDAO();
     _questDAO        = new QuestDAO();
     _ownedGroupDAO   = new OwnedQuestGroupDAO();
 }