Row de table clickable 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