webapiでentityframeworkの結果を返すときに循環エラーとなるのを防ぐ方法

https://youtu.be/eNScZiYuVCU 43分辺り。 相互に参照する以下のような2つのモデルがある. public class Author { public int ID { get; set; } [Required] public string FirstName { get; set; } [Required] public string LastName { get; set; } public string Nationality { get; set; } public List<Book> Books { get; se</book>…