我是ASP.NETwebapi的新手,我找不到返回按id查询的对象列表的方法。这是我的GET请求的Controller方法。我想返回所有具有通过url传递的指定questionnaireId的问题。我试过这个://GET:api/Questions/5[ResponseType(typeof(List))]publicTaskGetQuestion(intquestionnaireId){varquestions=fromqindb.Questionswhereq.QuestionnaireId==questionnaireIdselectnewQuestion(){Id=q.Id,I