Exemplo n.º 1
0
 public AllProductsController(AppDBContent appDBContent, IBooks books, IBooksAuthor author, IBooksGenre genre)
 {
     _appDBContent = appDBContent;
     _books        = books;
     _author       = author;
     _genre        = genre;
 }
Exemplo n.º 2
0
 public CatalogController(IBooks books, IBooksGenre booksGenres, IBooksAuthor booksAuthors, AppDBContent appDBContent)
 {
     _books        = books;
     _booksGenre   = booksGenres;
     _booksAuthor  = booksAuthors;
     _appDBContent = appDBContent;
 }
Exemplo n.º 3
0
 public HomeController(AppDBContent appDBContent, IBooks books, IBooksAuthor author, IBooksGenre genre, IWebHostEnvironment webHostEnvironment)
 {
     _appDBContent       = appDBContent;
     _books              = books;
     _author             = author;
     _genre              = genre;
     _webHostEnvironment = webHostEnvironment;
 }
Exemplo n.º 4
0
 public HomeController(IBooks books, IBooksGenre booksGenre, IBooksAuthor booksAuthor)
 {
     _books       = books;
     _booksGenre  = booksGenre;
     _booksAuthor = booksAuthor;
 }