From 140f2e7d72caf0c374d9d0452f2310e8f9c7c3fc Mon Sep 17 00:00:00 2001 From: Lucca Santangelo <luccasant95@gmail.com> Date: Sat, 12 Dec 2020 18:33:48 -0300 Subject: [PATCH] course create, modify --- Tsi1.Api/Tsi1.BusinessLayer/Dtos/CourseCreateDto.cs | 1 + Tsi1.Api/Tsi1.BusinessLayer/Dtos/CourseModifyDto.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/Tsi1.Api/Tsi1.BusinessLayer/Dtos/CourseCreateDto.cs b/Tsi1.Api/Tsi1.BusinessLayer/Dtos/CourseCreateDto.cs index 9b3d5c2..a206c9e 100644 --- a/Tsi1.Api/Tsi1.BusinessLayer/Dtos/CourseCreateDto.cs +++ b/Tsi1.Api/Tsi1.BusinessLayer/Dtos/CourseCreateDto.cs @@ -9,6 +9,7 @@ namespace Tsi1.BusinessLayer.Dtos { public string Name { get; set; } public bool IsTemplate { get; set; } + public bool IsPublic { get; set; } public bool HasPassword { get; set; } public string Password { get; set; } public List<SectionCreateDto> Sections { get; set; } diff --git a/Tsi1.Api/Tsi1.BusinessLayer/Dtos/CourseModifyDto.cs b/Tsi1.Api/Tsi1.BusinessLayer/Dtos/CourseModifyDto.cs index 9047a83..7150dc9 100644 --- a/Tsi1.Api/Tsi1.BusinessLayer/Dtos/CourseModifyDto.cs +++ b/Tsi1.Api/Tsi1.BusinessLayer/Dtos/CourseModifyDto.cs @@ -6,6 +6,7 @@ namespace Tsi1.BusinessLayer.Dtos { public string Name { get; set; } public bool IsTemplate { get; set; } + public bool IsPublic { get; set; } public bool HasPassword { get; set; } public string Password { get; set; } -- GitLab