Exemplo n.º 1
0
    public StudentHearingInformation getstudentdhearInfo(string ID)
    {
        CaseDataBase SDB = new CaseDataBase();
        StudentHearingInformation returnValue = new StudentHearingInformation();
        if (int.Parse(SDB._StaffhaveRoles[3]) == 1)
        {

            returnValue = SDB.getStudentHearingInfo(ID);
        }
        else
        {
            returnValue.checkNo = _noRole;
            returnValue.errorMsg = _errorMsg;
        }
        return returnValue;
    }