The thing is that I have a card div in a View that when being clicked redirects you to another View; it is working fine and Im getting and URL like : localhost:34195/Home/Details/1
, but I need to add a #
symbol on the Id parameter for me to get an URL like localhost:34195/Home/Details/#1
.
This is the div that calls the other View:
<div class="card z-depth-5" onclick="location.href='@Url.Action("Details", "Home",new { id = item.Id })'">