From a4a95c00e2ad9e98375a7cfbffbf8fd6541a823f Mon Sep 17 00:00:00 2001 From: Thomas Fransolet Date: Fri, 28 May 2021 18:29:32 +0200 Subject: [PATCH] Languages config only there for display --- Manager.Interfaces/DTO/SubSection/MapDTO.cs | 1 - ManagerService/Controllers/SectionController.cs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Manager.Interfaces/DTO/SubSection/MapDTO.cs b/Manager.Interfaces/DTO/SubSection/MapDTO.cs index ab24447..3321748 100644 --- a/Manager.Interfaces/DTO/SubSection/MapDTO.cs +++ b/Manager.Interfaces/DTO/SubSection/MapDTO.cs @@ -28,7 +28,6 @@ namespace Manager.Interfaces.DTO { public string ImageResourceId { get; set; } public string ImageSource { get; set; } // url to resource id (local) or on internet - public int Order { get; set; } // Order to show // useless ? } public enum MapType diff --git a/ManagerService/Controllers/SectionController.cs b/ManagerService/Controllers/SectionController.cs index 57ec11d..e5d9531 100644 --- a/ManagerService/Controllers/SectionController.cs +++ b/ManagerService/Controllers/SectionController.cs @@ -232,7 +232,7 @@ namespace ManagerService.Controllers section.Title = new List(); section.Description = new List(); // Preparation - List languages = _configurationService.GetById(newSection.ConfigurationId).Languages; + List languages = new List { "FR", "NL", "EN", "DE" };//_configurationService.GetById(newSection.ConfigurationId).Languages; var mapDTO = new MapDTO(); // For menu dto var sliderDTO = new SliderDTO(); // For menu dto