Проблема с выводом планов обучения
This commit is contained in:
parent
9d7db7a41b
commit
9453fd225a
@ -32,6 +32,7 @@
|
|||||||
<table class="table">
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
<th>Id</th>
|
||||||
<th>Profile</th>
|
<th>Profile</th>
|
||||||
<th>FormOfStudy</th>
|
<th>FormOfStudy</th>
|
||||||
<th>Actions</th>
|
<th>Actions</th>
|
||||||
@ -44,13 +45,16 @@
|
|||||||
<td>
|
<td>
|
||||||
@Html.DisplayFor(modelItem => planOfStudy.Id)
|
@Html.DisplayFor(modelItem => planOfStudy.Id)
|
||||||
</td>
|
</td>
|
||||||
<td>@planOfStudy.FormOfStudy</td>
|
<td>
|
||||||
|
@Html.DisplayFor(modelItem => planOfStudy.Profile)
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
@Html.DisplayFor(modelItem => planOfStudy.FormOfStudy)
|
||||||
|
</td>
|
||||||
<td>
|
<td>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a asp-action="Edit" asp-route-id="@planOfStudy.Id" class="btn btn-warning">Edit</a>
|
|
||||||
<a asp-action="Details" asp-route-id="@planOfStudy.Id" class="btn btn-info">Details</a>
|
|
||||||
<a asp-action="Delete" asp-route-id="@planOfStudy.Id" class="btn btn-danger">Delete</a>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ namespace UniversityRestApi.Controllers
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
return _logic.ReadList(new PlanOfStudySearchModel { });
|
return _logic.ReadList(new PlanOfStudySearchModel { UserId = userId });
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user