Languages config only there for display

This commit is contained in:
Thomas Fransolet 2021-05-28 18:29:32 +02:00
parent 1d308e27bd
commit a4a95c00e2
2 changed files with 1 additions and 2 deletions

View File

@ -28,7 +28,6 @@ namespace Manager.Interfaces.DTO
{ {
public string ImageResourceId { get; set; } public string ImageResourceId { get; set; }
public string ImageSource { get; set; } // url to resource id (local) or on internet 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 public enum MapType

View File

@ -232,7 +232,7 @@ namespace ManagerService.Controllers
section.Title = new List<TranslationDTO>(); section.Title = new List<TranslationDTO>();
section.Description = new List<TranslationDTO>(); section.Description = new List<TranslationDTO>();
// Preparation // Preparation
List<string> languages = _configurationService.GetById(newSection.ConfigurationId).Languages; List<string> languages = new List<string> { "FR", "NL", "EN", "DE" };//_configurationService.GetById(newSection.ConfigurationId).Languages;
var mapDTO = new MapDTO(); // For menu dto var mapDTO = new MapDTO(); // For menu dto
var sliderDTO = new SliderDTO(); // For menu dto var sliderDTO = new SliderDTO(); // For menu dto