To enable Attribute Routing, we need to call the MapMvcAttributeRoutes method of the route collection class during configuration.
To enable Attribute Routing, we need to call the MapMvcAttributeRoutes method of the route collection class during configuration.