<p>Let's say I have a class</p>

<pre><code>public class ItemController:Controller
{
    public ActionResult Login(int id)
    {
        return View("Hi", id);
    }
}
</code></pre>

<p>On a page that is not located at the Item folder, where <code>ItemController</code> resides, I want to create a link to the <code>Login</code> method. So which <code>Html.ActionLink</code> method I should use and what parameters should I pass?</p>

<p>Specifically, I am looking for the replacement of the method </p>

<pre><code>Html.ActionLink(article.Title,
    new { controller = "Articles", action = "Details",
          id = article.ArticleID })
</code></pre>

<p>that has been retired in the recent ASP.NET MVC incarnation. </p>

```
```
Html.ActionLink(article.Title, "Login/" + article.ArticleID, 'Item")
```
```