示例#1
0
        public int postTeacher(Teacher teacher)
        {
            DBservices    dbs       = new DBservices();
            int           teacherID = dbs.postTeacher(teacher);
            AlertSettings a         = new AlertSettings();

            return(a.postAlertSettings(teacherID));
        }
示例#2
0
        public int putAlertSettings(AlertSettings alertSettings)
        {
            DBservices dBservices = new DBservices();

            return(dBservices.putAlertSettings(alertSettings));
        }