diff --git a/Manager.Interfaces/DTO/SubSection/MapDTO.cs b/Manager.Interfaces/DTO/SubSection/MapDTO.cs index 036ea92..414fcf6 100644 --- a/Manager.Interfaces/DTO/SubSection/MapDTO.cs +++ b/Manager.Interfaces/DTO/SubSection/MapDTO.cs @@ -17,7 +17,7 @@ namespace Manager.Interfaces.DTO public class GeoPointDTO { - public int id { get; set; } + public int? id { get; set; } public List title { get; set; } public List description { get; set; } public List contents { get; set; } diff --git a/Manager.Interfaces/DTO/SubSection/QuizzDTO.cs b/Manager.Interfaces/DTO/SubSection/QuizzDTO.cs index a35797f..2d80035 100644 --- a/Manager.Interfaces/DTO/SubSection/QuizzDTO.cs +++ b/Manager.Interfaces/DTO/SubSection/QuizzDTO.cs @@ -19,7 +19,7 @@ namespace Manager.Interfaces.DTO public List label { get; set; } public List responses { get; set; } public string imageBackgroundResourceId { get; set; } // question image background - public ResourceType imageBackgroundResourceType { get; set; } + public ResourceType? imageBackgroundResourceType { get; set; } public string imageBackgroundResourceUrl { get; set; } // url to firebase storage or on internet public int order { get; set; } // Order to show }