public BookController(IBookstoreRepoository <formular> bookrepository, IBookstoreRepoository <Author> authorrepository, IHostEnvironment hosting) { this.bookrepository = bookrepository; this.authorrepository = authorrepository; this.hosting = hosting; }
public AuthorController(IBookstoreRepoository <Author> authorRepository) { this.authorRepository = authorRepository; }