public List<CreateTeacherSystem> getTeacherTemperatureData(string StaffID, string Year, string Month) { AdministrationDataBase aDB = new AdministrationDataBase(); aDB.caseBTFunction(); if (int.Parse(aDB._StaffhaveRoles[2]) == 1) { return aDB.getTeacherTemperatureData(StaffID, Year, Month); } return null; }