public AuthorController(IBookStoreRepo <Author> authorRepository)
 {
     _authorRepository = authorRepository;
 }
 public BookController(IBookStoreRepo <Book> bookRepository, IBookStoreRepo <Author> authorRepository)
 {
     this.bookRepository   = bookRepository;
     this.authorRepository = authorRepository;
 }
Beispiel #3
0
 public AutherController(IBookStoreRepo <Auther> AutherRepo)
 {
     autherRepo = AutherRepo;
 }
Beispiel #4
0
 public BookController(IBookStoreRepo <Book> bookRepo, IBookStoreRepo <Author> authorRepo, IHostingEnvironment hosting)
 {
     this.bookRepo   = bookRepo;
     this.authorRepo = authorRepo;
     this.hosting    = hosting;
 }
Beispiel #5
0
 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;
 }