Missed a file
This commit is contained in:
parent
7147fbf959
commit
10d16a754f
1 changed files with 10 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue