For calling javascript in your action link you simply need to write actionlink like this:
@Html.ActionLink("Delete", "Your-Action", new { id = item.id }, new { onclick="return confirm('Are you sure?');"})
Don't get confused between route values and the html attributes.