public AuthorController(IBookStoreRepo <Author> authorRepository) { _authorRepository = authorRepository; }
public BookController(IBookStoreRepo <Book> bookRepository, IBookStoreRepo <Author> authorRepository) { this.bookRepository = bookRepository; this.authorRepository = authorRepository; }
public AutherController(IBookStoreRepo <Auther> AutherRepo) { autherRepo = AutherRepo; }
public BookController(IBookStoreRepo <Book> bookRepo, IBookStoreRepo <Author> authorRepo, IHostingEnvironment hosting) { this.bookRepo = bookRepo; this.authorRepo = authorRepo; this.hosting = hosting; }
public BooksController(IBookStoreRepo <Books> BookRepo, IBookStoreRepo <Auther> autherRepo, IHostingEnvironment hosting) { bookRepo = BookRepo; this.autherRepo = autherRepo; this.hosting = hosting; }
public AuthorController(IBookStoreRepo <Author> authorRepo) { this.authorRepo = authorRepo; }