How to pass a parameter to the controller containing / (bar)

0

I need to pass a parameter to a Controller , however, this parameter contains / (slash).

Example:

  • 5701 / 1_1
  • 5966 / 2_5
  • 7881 / 6_1
  • To pass the parameter I am using @Url.Action :

     @Html.ActionLink("Visualizar", "DetailsRaWeb", new { id = item.TAG })
    

    But when executing, the error is generated:

        
    asked by anonymous 19.07.2017 / 12:34

    0 answers