/// <summary>
 /// 根据课程id获取资源文件
 /// </summary>
 /// <param name="context"></param>
 public void FindByCourseId(HttpContext context)
 {
     var zwJson = new ZwJson();
     ResourcesService resourcesService = new ResourcesService(_session);
     var id = context.Request.Params["id"];
     var resources = resourcesService.FindByCourseId(new Model.Course() { Id = id });
     zwJson.Data = resources;
     zwJson.IsSuccess = true;
     zwJson.JsExecuteMethod = "Ajax_FindByCourseId";
     context.Response.Write(_jss.Serialize(zwJson));
 }