public ArtifactManagement()
 {
     _studentDAO           = new StudentDAO();
     _artifact             = new ArtifactDAO();
     _ownedArtifactGroup   = new OwnedArtifactGroupDAO();
     _ownedArtifactStudent = new OwnedArtifactStudentDAO();
     _groupDAO             = new GroupDAO();
     _groupTransactionDAO  = new GroupTransactionDAO();
     _studentAcceptanceDAO = new StudentAcceptanceDAO();
 }
Example #2
0
 public MessageController(ICurrentSession session)
 {
     _studentDAO           = new StudentDAO();
     _groupTransactionDAO  = new GroupTransactionDAO();
     _studentAcceptanceDAO = new StudentAcceptanceDAO();
     _session      = session;
     _credentialID = _session.LoggedUser.CredentialID;
     _artifactDAO  = new ArtifactDAO();
     _student      = _studentDAO.FindOneRecordBy(_credentialID);
 }
 public AcceptanceMenagement()
 {
     _studentAcceptanceDAO = new StudentAcceptanceDAO();
     _groupTrasanctionDAO  = new GroupTransactionDAO();
 }