tengo algún métodoCómo pasar valor de enumeración en @ Html.ActionLink
public ActionResult ExportToCSV(CellSeparators cellSeparator)
{
//
}
public enum CellSeparators
{
Semicolon,
Comma
}
¿Cómo podemos hacer referencia a ese método correctamente en html?
@Html.ActionLink("Exportar al CSV", "ExportToCSV", new { ?? })
¡Gracias!
¡Gracias! Tu enfoque está funcionando. –
También RouteValueDictionary http://stackoverflow.com/questions/3976371/pass-collection-of-enums-to-asp-net-mvc-actionmethod –