En el @Html.ActionLink
ya cree dos new, pero también quiero agregarle una class="btn btn-danger"
de bootstrap, si agrego un tercer new por ejemplo:
@Html.ActionLink("Baja", "BajaLibro", "Home",
new { idLibro = item.IdLibro, },
new { onclick = "return confirmation();" },
new { @class = "btn btn-danger" })
no me deja, me tira un error.
Por el momento en mi
@Html.ActionLink
lo tengo así y me funciona perfectamente:
@Html.ActionLink("Baja", "BajaLibro", "Home",
new { idLibro = item.IdLibro, },
new { onclick = "return confirmation();" })
Entonces como puedo agregarle la class="btn btn-danger"
?