public void AddTags(TagCategoryTypes category) { var dbContext = Program.NinjectKernel.Get <IRealmDbContext>(); var tagList = dbContext.Tags.Where(x => x.TagCategory == category).ToList(); tagList.ForEach(x => AddTag(x.Id, x.Name)); }
public SystemTagSet(string name, TagCategoryTypes category) { Name = name; Category = category; Tags = new Dictionary <string, SystemTag>(); TagsById = new Dictionary <int, SystemTag>(); }