I have the following command
@Html.EditorFor(m => m.DataDoDesligamento)
On it is placed a date, and when clicking a button it should redirect to a report, except that I need to pass to the URL the parameter Data shutdown to send to the specific report, as follows.
<a target="_blank" type="button" class="btn btn-red" href="~/Relatorio/Relatorio.aspx?dataReferencia=@dataDesligamento">Simular desligamento</a>
And I have no idea how to do this.