/// <summary> /// This removes associated tags from the entity - used generally when an entity is recycled /// </summary> /// <param name="entity"></param> /// <param name="tagRepo"></param> protected void ClearEntityTags(IContentBase entity, ITagRepository tagRepo) { tagRepo.ClearTagsFromEntity(entity.Id); }