In the code below I'm trying to pass a parameter to an Action. The action is being called and the value of the parameter is also being assigned to Url. However Action takes Null, not the parameter value.
@using (Html.BeginForm("Buscar", "Terapeutas", FormMethod.Post, htmlAttributes: new { @id = "form1", @name = "form1" }))
{
@Html.ValidationSummary(true)
foreach (var item in Model.Terapeutas)
{
<img src="/Terapeutas/ShowFoto/@item.ID_TERAPEUTA" class="img-circle" alt="Foto Terapeuta" width="120" height="120" />
}
}