public string DeleteTeacher(int id) { TeacherBLL bll = new TeacherBLL(); bool result = bll.Delete(id); if (result) { return("删除教师信息成功!".ToJson()); } else { return("删除教师信息失败!".ToJson()); } }