public AllProductsController(AppDBContent appDBContent, IBooks books, IBooksAuthor author, IBooksGenre genre)
 {
     _appDBContent = appDBContent;
     _books        = books;
     _author       = author;
     _genre        = genre;
 }
Example #2
0
 public CatalogController(IBooks books, IBooksGenre booksGenres, IBooksAuthor booksAuthors, AppDBContent appDBContent)
 {
     _books        = books;
     _booksGenre   = booksGenres;
     _booksAuthor  = booksAuthors;
     _appDBContent = appDBContent;
 }
Example #3
0
 public HomeController(AppDBContent appDBContent, IBooks books, IBooksAuthor author, IBooksGenre genre, IWebHostEnvironment webHostEnvironment)
 {
     _appDBContent       = appDBContent;
     _books              = books;
     _author             = author;
     _genre              = genre;
     _webHostEnvironment = webHostEnvironment;
 }
Example #4
0
 public HomeController(IBooks books, IBooksGenre booksGenre, IBooksAuthor booksAuthor)
 {
     _books       = books;
     _booksGenre  = booksGenre;
     _booksAuthor = booksAuthor;
 }
 public AllAuthorsController(IBooksAuthor _authors, IBooks _books)
 {
     authors = _authors;
     books   = _books;
 }