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