Probably it should be very easy but I am not sure that I did it correctly, so I want to ask you how to convert the code below to T4MVC syntax:
@Html.ActionLink("Log in", "Login", "Account", routeValues: null, htmlAttributes: new {id = "loginLink"})
I tried to do this code and it works fine but I am not sure I did it 100% correct.
@Html.ActionLink("Log in", MVC.Account.Login(null, null), htmlAttributes: new { id = "loginLink" })
The Login method signature is:
public virtual async Task<ActionResult> Login(LoginViewModel model, string returnUrl)
Thanks in advance.