public AuthorType()
        {
            Field(x => x.Id).Description("The Id of the person.");
            Field(x => x.Name).Description("The name of the person.");
            Field(x => x.Birthdate).Description("The birthdate of the person.");
            Field <ListGraphType <BookType> >("books",
                                              resolve: context => {
                IBookRepository bookRepository = new BookRepository();


                return(bookRepository.AuthorBooks(context.Source.Id));
            });
            Field <ListGraphType <PublisherType> >("publishers",
                                                   resolve: context => new Publisher[] { });
        }