I have some method
public ActionResult ExportToCSV(CellSeparators cellSeparator)
{
//
}
public enum CellSeparators
{
Semicolon,
Comma
}
How we can refer to that method correctly in html?
@Html.ActionLink("Exportar al CSV", "ExportToCSV", new { ?? })
Thank you!
@Html.ActionLink(“Exportar al CSV”, “ExportToCSV”, new { cellSeparator=(int)CellSeparators.Semicolon })
And
Is not elegant, but is usefull