Exemple #1
0
 public BookController(repositoriesInterface <Book> bookrepository
                       , repositoriesInterface <Auther> autherrepository
                       , IHostEnvironment hosting)
 {
     this.bookrepository   = bookrepository;
     this.autherrepository = autherrepository;
     this.hosting          = hosting;
 }
 // GET: auther
 public AutherController(repositoriesInterface <Auther> autherrepository)
 {
     this.autherrepository = autherrepository;
 }