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