Tabela clicável Linha ASP.NET CORE
@foreach (var user in Model.Users)
{
<tr onclick="location.href = '@(Url.Action("ShowProfile", "Users", new { userId = user.UserId }))'">
//rest of your markup for that table row
</tr>
}
Curious Crab