*@ This is the code inside the cshtml, that I tried using to show the data in the view
<table class="table table-bordered table table-striped" style="width:100%">
<thead>
<tr>
<th>
Users
</th>
</tr>
</thead>
<tbody>
@if (Model != null && Model.Users != null)
{
@foreach (var obj in Model.Users)
{
<tr>
<td>
@obj.Name
</td>
</tr>
}
}
</tbody>
</table>
*@ This is the code inside the cshtml, that I tried using to show the data in the view
<table class="table table-bordered table table-striped" style="width:100%">
<thead>
<tr>
<th>
Users
</th>
</tr>
</thead>
<tbody>
@if (Model != null && Model.Users != null)
{
@foreach (var obj in Model.Users)
{
<tr>
<td>
@obj.Name
</td>
</tr>
}
}
</tbody>
</table>