From 9453fd225a89599b52f9f2657c191b573ddae17b Mon Sep 17 00:00:00 2001 From: DyCTaTOR <125912249+DyCTaTOR@users.noreply.github.com> Date: Mon, 27 May 2024 01:11:57 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=BE=D0=B1=D0=BB=D0=B5=D0=BC?= =?UTF-8?q?=D0=B0=20=D1=81=20=D0=B2=D1=8B=D0=B2=D0=BE=D0=B4=D0=BE=D0=BC=20?= =?UTF-8?q?=D0=BF=D0=BB=D0=B0=D0=BD=D0=BE=D0=B2=20=D0=BE=D0=B1=D1=83=D1=87?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/Home/Index.cshtml | 12 ++++++++---- .../Controllers/PlanOfStudysController.cs | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/University/UniversityClientAppWorker/Views/Home/Index.cshtml b/University/UniversityClientAppWorker/Views/Home/Index.cshtml index 7b270d9..bc8fa47 100644 --- a/University/UniversityClientAppWorker/Views/Home/Index.cshtml +++ b/University/UniversityClientAppWorker/Views/Home/Index.cshtml @@ -32,6 +32,7 @@ + @@ -44,13 +45,16 @@ - + + diff --git a/University/UniversityRestApi/Controllers/PlanOfStudysController.cs b/University/UniversityRestApi/Controllers/PlanOfStudysController.cs index 5a6c831..fcb81ab 100644 --- a/University/UniversityRestApi/Controllers/PlanOfStudysController.cs +++ b/University/UniversityRestApi/Controllers/PlanOfStudysController.cs @@ -22,7 +22,7 @@ namespace UniversityRestApi.Controllers { try { - return _logic.ReadList(new PlanOfStudySearchModel { }); + return _logic.ReadList(new PlanOfStudySearchModel { UserId = userId }); } catch (Exception ex) {
Id Profile FormOfStudy Actions @Html.DisplayFor(modelItem => planOfStudy.Id) @planOfStudy.FormOfStudy + @Html.DisplayFor(modelItem => planOfStudy.Profile) + + @Html.DisplayFor(modelItem => planOfStudy.FormOfStudy) + - Edit - Details - Delete +