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 @@