diff --git a/Tsi1.Api/Tsi1.BusinessLayer/Dtos/CourseCreateDto.cs b/Tsi1.Api/Tsi1.BusinessLayer/Dtos/CourseCreateDto.cs index 9b3d5c20521e8e01d048dcc6d37bb8ad81170128..a206c9e207bd8952dead11f01eb8aad9508209e6 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 9047a83339e036c1a4134d6d51085dab236061dc..7150dc9f5ab02ea97c4712dc467bcd3c8385b971 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; }