更新时间:2023-02-17 09:29:22
查询字符串键名应与动作的参数名匹配:
The query string key name should match the parameter name of the action:
/api/values?queryString=f
/api/values?queryString=f
public IEnumerable<string> Get(string queryString)
{
return new string[] { "value3", "value4" };
}