I have controller like this:
public ActionResult Load(Guid? id)
{
...
}
When load the view like /Report/Load
it load the page.
Then I click on link on page to load one item /Report/Load/7628EDFB-EFD5-E111-810C-00FFB73098ED
and it loads the page fine.
Now I want to redirect again to /Report/Load
using this url.action
<a href="@Url.Action("Load", "Report")">Close Report</a>
But it keeps redirecting me to /Report/Load/7628EDFB-EFD5-E111-810C-00FFB73098ED
What I need to do on URL.Action to redirect me to page with the id?
Tried without success:
<a href="@Url.Action("Load", "Report", null, null)">Close Report</a>
Thanks