public AuthorController(IBookstorerepository <author> authorrepository)
 {
     this.authorrepository = authorrepository;
 }
        // GET: Book


        public BookController(IBookstorerepository <Book> bookRepository, IBookstorerepository <Author> authorRepository, IHostingEnvironment hosting)
        {
            this.bookRepository   = bookRepository;
            this.authorRepository = authorRepository;
            this.hosting          = hosting;
        }
Exemple #3
0
 public BookController(IBookstorerepository <book> bookrepository, IBookstorerepository <author> authorrepository)
 {
     this.bookrepository   = bookrepository;
     this.authorrepository = authorrepository;
 }