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