3
Answers

how do i pass enum and route to action that takes int?

Photo of Istudent Rana

Istudent Rana

6y
963
1
I need to pass negative number in the action but in the address bar i do not want negative number to display.
This negative number is value for an enum.
https://mydomain.com/myprojects/Days/Index/0
https://mydomain.com/myprojects/Days/Index/-3

Answers (3)