using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Entity.ShowEasyDtos { public class RegionDicDTO { //public RegionDTO Region = new RegionDTO(); public string RegionID { get; set; } public string RegionName { get; set; } [JsonIgnore] public Dictionary<string, CountryDicDTO> Countries = new Dictionary<string, CountryDicDTO>(); public List<CountryDicDTO> CountryList = new List<CountryDicDTO>(); } }