From 2b59f88981e661cdc5d9c99037cb0cd770355b20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=BE=D0=BB=D0=BE=D0=B4=D1=8F?= Date: Thu, 18 May 2023 23:05:58 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SchoolAgainStudyDataBaseImplements/Models/Diy.cs | 2 ++ .../SchoolAgainStudyDataBaseImplements/Models/Lesson.cs | 2 ++ SchoolAgainStudy/StudentWebClient/Views/Home/DiySetting.cshtml | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/SchoolAgainStudy/SchoolAgainStudyDataBaseImplements/Models/Diy.cs b/SchoolAgainStudy/SchoolAgainStudyDataBaseImplements/Models/Diy.cs index 58afc66..39934df 100644 --- a/SchoolAgainStudy/SchoolAgainStudyDataBaseImplements/Models/Diy.cs +++ b/SchoolAgainStudy/SchoolAgainStudyDataBaseImplements/Models/Diy.cs @@ -68,6 +68,8 @@ namespace SchoolAgainStudyDataBaseImplements.Models public void Update(DiyBindingModel model) { Title = model.Title; + TaskId = model.TaskId; + TaskName = model.TaskName; Description = model.Description; DateCreate = model.DateCreate; } diff --git a/SchoolAgainStudy/SchoolAgainStudyDataBaseImplements/Models/Lesson.cs b/SchoolAgainStudy/SchoolAgainStudyDataBaseImplements/Models/Lesson.cs index 9aed706..cf927d2 100644 --- a/SchoolAgainStudy/SchoolAgainStudyDataBaseImplements/Models/Lesson.cs +++ b/SchoolAgainStudy/SchoolAgainStudyDataBaseImplements/Models/Lesson.cs @@ -66,6 +66,8 @@ namespace SchoolAgainStudyDataBaseImplements.Models public void Update(LessonBindingModel model) { Title = model.Title; + ProductId = model.ProductId; + ProductName = model.ProductName; DateEvent = model.DateEvent; } diff --git a/SchoolAgainStudy/StudentWebClient/Views/Home/DiySetting.cshtml b/SchoolAgainStudy/StudentWebClient/Views/Home/DiySetting.cshtml index 8c08905..955f984 100644 --- a/SchoolAgainStudy/StudentWebClient/Views/Home/DiySetting.cshtml +++ b/SchoolAgainStudy/StudentWebClient/Views/Home/DiySetting.cshtml @@ -28,7 +28,7 @@
Задание:
- +