Пример #1
0
 private Book GetRandomBook(Author author) =>
 new Book
 {
     Author        = author,
     Title         = _nameService.GetWords(3, 7),
     Summary       = _nameService.GetWords(15, 100),
     YearPublished = _nameService.GetYear(author.BirthDate.Year + 15)
 };