diff --git a/ManagerService/Controllers/SectionController.cs b/ManagerService/Controllers/SectionController.cs index 13407cc..57ec11d 100644 --- a/ManagerService/Controllers/SectionController.cs +++ b/ManagerService/Controllers/SectionController.cs @@ -226,8 +226,8 @@ namespace ManagerService.Controllers section.ImageId = newSection.ImageId; section.ConfigurationId = newSection.ConfigurationId; section.DateCreation = DateTime.Now; - section.IsSubSection = false; - section.ParentId = null; + section.IsSubSection = newSection.IsSubSection; + section.ParentId = newSection.ParentId; section.Type = newSection.Type; section.Title = new List(); section.Description = new List();