예제 #1
0
 public BookController(IBookStoreRepoitory <Book> bookStoreRepoitory,
                       IBookStoreRepoitory <Author> authorRepository,
                       IHostingEnvironment hosting
                       )
 {
     this.bookStoreRepoitory = bookStoreRepoitory;
     this.authorRepository   = authorRepository;
     this.hosting            = hosting;
 }
예제 #2
0
 public AuthorController(IBookStoreRepoitory <Author> authorRepository)
 {
     this.authorRepository = authorRepository;
 }