Missed a file

This commit is contained in:
Amelia 2025-06-20 19:14:23 +02:00
parent 7147fbf959
commit 10d16a754f

View file

@ -156,4 +156,14 @@ public class ChapterBuilder : IEntityBuilder<Chapter>
return this;
}
public ChapterBuilder WithTags(IList<Tag> tags)
{
_chapter.Tags ??= new List<Tag>();
foreach (var tag in tags)
{
_chapter.Tags.Add(tag);
}
return this;
}
}