public AuthorController(IBookstoreRepositories <Author> authorRepository) { this.authorRepository = authorRepository; }
public BookController(IBookstoreRepositories <Book> bookRepository, IBookstoreRepositories <Author> authorRepository, IHostingEnvironment hosting) { this.bookRepository = bookRepository; this.authorRepository = authorRepository; this.hosting = hosting; }