예제 #1
0
 public ProfileController(ICurrentSession session)
 {
     _session      = session;
     _credentialID = _session.LoggedUser.CredentialID;
     _studentDAO   = new StudentDAO();
     _student      = _studentDAO.FindOneRecordBy(_credentialID);
 }
예제 #2
0
 public ArtifactController(ICurrentSession session)
 {
     _artifactDao       = new ArtifactDAO();
     _studentDAO        = new StudentDAO();
     _session           = session;
     CredentialId       = _session.LoggedUser.CredentialID;
     ArtifactManagmenet = new ArtifactManagement();
     Student            = _studentDAO.FindOneRecordBy(CredentialId);
 }
예제 #3
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);
 }