属性路由参数约束

使用方式:[Route("users/{id:int}"]

原文地址:https://www.cnblogs.com/ideacore/p/6288868.html