摘要: WebApiConfig.cs Web API 路由 默认方法:GetAllProducts(); "api/{controller}/{id}" http://localhost/api/products 调用自定义方法:GetAllProducts(); "api/{controller}/{a 阅读全文
posted @ 2016-10-28 14:57 哈佛 阅读(2847) 评论(0) 推荐(0) 编辑