Exemplo n.º 1
0
 public BookService(BookRepository bookRepository, PublicationHouseRepository publicationHouseRepository, BookInPublicationHouseRepository bookInPublicationHouseRepository, AuthorRepository authorRepository, BookInAuthorRepository bookInAuthorRepository)
 {
     _bookRepository                   = bookRepository;
     _publicationHouseRepository       = publicationHouseRepository;
     _bookInPublicationHouseRepository = bookInPublicationHouseRepository;
     _authorRepository                 = authorRepository;
     _bookInAuthorRepository           = bookInAuthorRepository;
 }
Exemplo n.º 2
0
 public PublicationHouseService(PublicationHouseRepository publicationHouseRepository, BookRepository bookRepository, BookInPublicationHouseRepository bookInPublicationHouseRepository)
 {
     _publicationHouseRepository       = publicationHouseRepository;
     _bookRepository                   = bookRepository;
     _bookInPublicationHouseRepository = bookInPublicationHouseRepository;
 }