How to use Route correctly? #27211
Unanswered
EvgenyPrikhodko
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How to use Route correctly?
Controller A
[httpGet]
Method GetCreate
[httpPost]
Method GetCreate
Controller B
[httpGet]
Method GetCreate
[httpPost]
Method GetCreate
ROUTE - ADMIN
Problem, it doesn't work stably if:
[Route ("Admin")]
Controller A
[httpGet]
[Route ("A / Create")]
Method GetCreate
[httpPost]
[Route = ("A / Create")]
Method GetCreate
[Route ("Admin")]
Controller B
[httpGet]
[Route ("B / Create")]
Method GetCreate
[httpPost]
[Route ("B / Create")]
Method GetCreate
Beta Was this translation helpful? Give feedback.
All reactions