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)); }
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)); }