using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Entity.ShowEasyDtos { public class CategoryDTO { /// /// /// public string CategoryID { get; set; } /// /// /// public string CategoryName { get; set; } /// /// /// [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public List SubCategoryList = new List(); [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public Dictionary SubCategoryDic = new Dictionary(); } }