Beispiel #1
0
        public JsonResult getTeacherMessages(long SenderId, long ReceiverId, long SchoolId)
        {
            ClassTeacher            classteacher = new ClassTeacher();
            ClassTeacherMessageProp prop         = new ClassTeacherMessageProp();

            prop = classteacher.getClassTeacherMsg(SenderId, ReceiverId, SchoolId);
            return(Json(prop, JsonRequestBehavior.AllowGet));
        }
Beispiel #2
0
        public JsonResult getCurrentTeachersList(long SchoolId, long Teacher_UID)
        {
            ClassTeacher            classteacher = new ClassTeacher();
            ClassTeacherMessageProp prop         = new ClassTeacherMessageProp();

            prop.details = classteacher.getActiveTeacherList(SchoolId, Teacher_UID);
            return(Json(prop, JsonRequestBehavior.AllowGet));
        }