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