I am trying to use the build-in attribute routing that comes with Mvc 5, previously I was using the AttributeRouting
package on Nuget.
But how do i set up routes by specifying whether it is for a Get or Post request?
In AttributeRouting
there was GET()
and POST()
attributes, but in Mvc 5 there is only a Route()
Attribute?