public List<AchievementAssessment> CreatAchievementAssessment(AchievementAssessment sTemperatureData) { AdministrationDataBase aDB = new AdministrationDataBase(); //aDB.caseBTFunction(); //if (int.Parse(aDB._StaffhaveRoles[2]) == 1) //{ return aDB.CreatAchievementAssessment(sTemperatureData); //} //else //{ // return null; //} }
public string[] searchBookDataResultCount(SearchBook bookData) { AdministrationDataBase aDB = new AdministrationDataBase(); aDB.libraryFunction(); if (int.Parse(aDB._StaffhaveRoles[3]) == 1) { return aDB.searchBookResultCount(bookData); } else { return new string[2] { _getcheckNo, _errorMsg }; } }
public string[] UpdateTeachServiceSupervisor(TeachServiceSupervisor sTemperatureData) { AdministrationDataBase aDB = new AdministrationDataBase(); //aDB.caseBTFunction(); //if (int.Parse(aDB._StaffhaveRoles[2]) == 1) //{ return aDB.UpdateTeachServiceSupervisor(sTemperatureData); //} //else //{ // return null; //} }
public List<VoiceDistance> showVoiceDistance(int ID) { AdministrationDataBase aDB = new AdministrationDataBase(); return aDB.showVoiceDistance(ID); }
public string[] updateHearLossDataBase(List<UpdateHearLoss> sTemperatureData ,int SID) { AdministrationDataBase aDB = new AdministrationDataBase(); aDB.caseBTFunction(); if (int.Parse(aDB._StaffhaveRoles[2]) == 1) { return aDB.UpdateHearLoss(sTemperatureData,SID); } else { return new string[2] { _noRole, _errorMsg }; } }
public List<AchievementAssessmentLoad> ShowCaseIspRecord(int id) { AdministrationDataBase aDB = new AdministrationDataBase(); return aDB.ShowCaseIspRecord(id); }
public List<SearchStudentResult> ShowStudent(int SID) { AdministrationDataBase aDB = new AdministrationDataBase(); //aDB.caseBTFunction(); //if (int.Parse(aDB._StaffhaveRoles[2]) == 1) //{ return aDB.ShowStudent(SID); //} //else //{ // return null; //} }
public List<SearchClassName> SearchClassNameDataBaseCase(int index, SearchClassName SearchStaffCondition) { AdministrationDataBase aDB = new AdministrationDataBase(); return aDB.SearchClassNameDataBaseCase(index, SearchStaffCondition); }
public List<UpdateHearLoss> searchHearLossDataBase(int SID,int page) { AdministrationDataBase aDB = new AdministrationDataBase(); //aDB.caseBTFunction(); //if (int.Parse(aDB._StaffhaveRoles[2]) == 1) //{ return aDB.searchHearLossDataBase(SID,page); //} //else //{ // return null; //} }
public List<ShowCaseISPRecord> SearchCaseISPRecord(int index, SearchCaseISPRecord SearchStructure) { AdministrationDataBase aDB = new AdministrationDataBase(); return aDB.SearchCaseISPRecord(index, SearchStructure, 0); }
public string[] SearchClassNameCountCase(SearchClassName SearchStaffCondition) { AdministrationDataBase aDB = new AdministrationDataBase(); return aDB.SearchClassNameCountCase(SearchStaffCondition); }
public string[] searchBookRecordDataCount(SearchBookStatistics BookStatisticsData) { AdministrationDataBase aDB = new AdministrationDataBase(); aDB.libraryFunction(); if (int.Parse(aDB._StaffhaveRoles[3]) == 1) { return aDB.SearchBookRecordCount(BookStatisticsData); } else { return new string[2] { _noRole, _errorMsg }; } }
public List<CreateBookSystem> searchBookRecordData(int index, SearchBookStatistics BookStatisticsData) { AdministrationDataBase aDB = new AdministrationDataBase(); return aDB.SearchBookRecord(index, BookStatisticsData); }
public List<CreateBookBorrow> searchBookDateData(SearchBookStatistics BookStatisticsData) { AdministrationDataBase aDB = new AdministrationDataBase(); aDB.libraryFunction(); List<CreateBookBorrow> returnValue = new List<CreateBookBorrow>(); if (int.Parse(aDB._StaffhaveRoles[3]) == 1) { returnValue = aDB.SearchBookDate(BookStatisticsData); } else { CreateBookBorrow addValue=new CreateBookBorrow(); addValue.checkNo = _noRole; addValue.errorMsg = _errorMsg; returnValue.Add(addValue); } return returnValue; }
public string[] setBookData1(SearchBookResult bookDataResult) { AdministrationDataBase aDB = new AdministrationDataBase(); aDB.libraryFunction(); if (int.Parse(aDB._StaffhaveRoles[1]) == 1) { return aDB.setBookData1(bookDataResult); } else { return new string[2] { _noRole, _errorMsg }; } }
public List<SingleClassShortTerm> SearchSingleTeach(int index, SearchCaseISPRecord SearchStructure) { AdministrationDataBase aDB = new AdministrationDataBase(); return aDB.SearchSingleTeach(index, SearchStructure, 0); }
public List<CreateBookSystem> setBookReturnDataBase(CreateBookSystem bookSystemData) { AdministrationDataBase aDB = new AdministrationDataBase(); aDB.libraryFunction(); List<CreateBookSystem> returnValue = new List<CreateBookSystem>(); if (int.Parse(aDB._StaffhaveRoles[3]) == 1) { returnValue=aDB.setBookReturnDataBase(bookSystemData); } else { CreateBookSystem addVlaue = new CreateBookSystem(); addVlaue.checkNo = _noRole; addVlaue.errorMsg = _errorMsg; returnValue.Add(addVlaue); } return returnValue; }
public string[] SearchSingleTeachCount(SearchCaseISPRecord SearchStructure) { AdministrationDataBase aDB = new AdministrationDataBase(); return aDB.SearchSingleTeachCount(SearchStructure, 1); }
public List<AchievementAssessmentLoad> ShowCaseStudy(int ID) { AdministrationDataBase aDB = new AdministrationDataBase(); //aDB.caseBTFunction(); //if (int.Parse(aDB._StaffhaveRoles[0]) == 1) //{ return aDB.ShowCaseStudy(ID); //} //else //{ // return null; //} }
public List<TeachServiceInspect> SearchTeachServiceInspect(int index, SearchStudent SearchStructure) { AdministrationDataBase aDB = new AdministrationDataBase(); return aDB.SearchTeachServiceInspect(index, SearchStructure, 1); }
public List<AchievementAssessmentLoad> ShowTeachServiceSupervisor(int id) { AdministrationDataBase aDB = new AdministrationDataBase(); return aDB.ShowTeachServiceSupervisor(id); }
public List<TeachServiceSupervisor> SearchTeachServiceSupervisor(int index, SearchStudent SearchStructure) { AdministrationDataBase aDB = new AdministrationDataBase(); return aDB.SearchTeachServiceSupervisor(index, SearchStructure, 0); }
public List<CaseStudy> UpdateCaseStudy(CaseStudy sTemperatureData) { AdministrationDataBase aDB = new AdministrationDataBase(); //aDB.caseBTFunction(); //if (int.Parse(aDB._StaffhaveRoles[2]) == 1) //{ return aDB.UpdateCaseStudy(sTemperatureData); //} //else //{ // return null; //} }
public string[] searchUserDataCardNum(SearchUser userData) { AdministrationDataBase aDB = new AdministrationDataBase(); return aDB.searchUserDataCardNum(userData); }
public string[] updateTeacherTemperatureDataBase(List<CreateTeacherSystem> sTemperatureData) { AdministrationDataBase aDB = new AdministrationDataBase(); aDB.caseBTFunction(); if (int.Parse(aDB._StaffhaveRoles[2]) == 1) { return aDB.updateTeacherTemperatureData(sTemperatureData); } else { return new string[2] { _noRole, _errorMsg }; } }
public List<VoiceDistance> SearchVoiceDistance(int index, SearchStudent SearchStructure) { AdministrationDataBase aDB = new AdministrationDataBase(); return aDB.SearchVoiceDistance(index, SearchStructure, 0); }
public string[] UpdateVoiceDistance(List<VoiceDistance> sTemperatureData) { AdministrationDataBase aDB = new AdministrationDataBase(); //aDB.caseBTFunction(); //if (int.Parse(aDB._StaffhaveRoles[2]) == 1) //{ return aDB.UpdateVoiceDistance(sTemperatureData); //} //else //{ // return null; //} }
public string[] SearchVoiceDistanceCount(SearchStudent SearchStructure) { AdministrationDataBase aDB = new AdministrationDataBase(); //aDB.caseBTFunction(); //if (int.Parse(aDB._StaffhaveRoles[2]) == 1) //{ return aDB.SearchVoiceDistanceCount(SearchStructure, 1); //} //else //{ // return new string[2] { _noRole, _errorMsg }; //} }
public List<CaseISPRecord> CreatCaseISPRecord(CaseISPRecord sTemperatureData) { AdministrationDataBase aDB = new AdministrationDataBase(); //aDB.caseBTFunction(); //if (int.Parse(aDB._StaffhaveRoles[2]) == 1) //{ return aDB.CreatCaseISPRecord(sTemperatureData); //} //else //{ // return null; //} }
public List<CreateBookResult> searchBookDataResult(int index, SearchBook bookData) { AdministrationDataBase aDB = new AdministrationDataBase(); return aDB.searchBookResult(index, bookData); }