I\'m using ASP.Net MVC. Here\'s my code snippets from a controller named Course:
public ActionResult List(int id) { var viewmodel.ShowUrl = Url.Action(\
Just came across the same problem and so you know, you can also just use an empty string:
@Url.Action("Show", "Course", new { id = "" })