Istudent Rana

Istudent Rana

  • 1k
  • 362
  • 85.2k

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

Feb 18 2019 7:40 AM
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)