public JsonResult GetTeacherDetails(int teacherId) { CourseAssign teacher = aCourseAssignManager.GetTeacherDetails(teacherId); return(Json(teacher)); }