Exemplo n.º 1
0
 public BooksController(IBookService bookService, IGenreService genreService, IAuthorService authorService,
                        IAuthorBookLinksService authorBookLinksService, IGenreBookLinksService genreBookLinksService,
                        IGenreAuthorLinksService genreAuthorLinksService, IReviewService reviewService, IUserFavouriteService userFavouriteService)
 {
     this.bookService             = bookService;
     this.genreService            = genreService;
     this.authorService           = authorService;
     this.authorBookLinksService  = authorBookLinksService;
     this.genreBookLinksService   = genreBookLinksService;
     this.genreAuthorLinksService = genreAuthorLinksService;
     this.reviewService           = reviewService;
     this.userFavouriteService    = userFavouriteService;
 }
Exemplo n.º 2
0
 public AuthorsController(IAuthorService authorService, IGenreAuthorLinksService genreAuthorLinkService, IAuthorBookLinksService authorBookLinksService)
 {
     this.authorService          = authorService;
     this.genreAuthorLinkService = genreAuthorLinkService;
     this.authorBookLinksService = authorBookLinksService;
 }