public void Update(BookChapter bookChapter) => _chapters[bookChapter.Id] = bookChapter;
public void Add(BookChapter bookChapter) { bookChapter.Id = Guid.NewGuid(); _chapters[bookChapter.Id] = bookChapter; }
public void Update(BookChapter bookChapter) => _chapters[bookChapter.Id] = bookChapter;
public void Add(BookChapter bookChapter) { bookChapter.Id = Guid.NewGuid(); _chapters[bookChapter.Id] = bookChapter; }