Fix save subsection

This commit is contained in:
Thomas Fransolet 2021-05-23 15:44:07 +02:00
parent 29ca277cf4
commit 636cefaa69

View File

@ -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<TranslationDTO>();
section.Description = new List<TranslationDTO>();