Ejemplo n.º 1
0
 public BookAuthorController(IBookAuthorService bookAuthorService,
                             IAuthorService authorService,
                             IBookService bookService)
 {
     _bookAuthorService = bookAuthorService;
     _authorService     = authorService;
     _bookService       = bookService;
 }
 public BookController(
     IBookService bookService, IBookCategoryService bookCategoryService,
     IBookAuthorService bookAuhtorService, IMapper mapper)
 {
     this._mapper              = mapper;
     this._bookService         = bookService;
     this._bookCategoryService = bookCategoryService;
     this._bookAuhtorService   = bookAuhtorService;
 }
Ejemplo n.º 3
0
 public BookController(IBookService bookService,
                       IPickOfTheDayService pickOfTheDayService,
                       IPickOfTheWeekService pickOfTheWeekService,
                       IAuthorService authorService,
                       IBookAuthorService bookAuthorService)
 {
     _bookService          = bookService;
     _pickOfTheDayService  = pickOfTheDayService;
     _pickOfTheWeekService = pickOfTheWeekService;
     _authorService        = authorService;
     _bookAuthorService    = bookAuthorService;
 }
 public BookRecommendationController(IBooksReadService booksReadService,
                                     IUserOpenedBookPageService userOpenedBookPageService,
                                     IBookService bookService,
                                     IGenreService genreService,
                                     IBookAuthorService bookAuthorService,
                                     IAuthorService authorService)
 {
     _booksReadService        = booksReadService;
     _userOpndBookPageService = userOpenedBookPageService;
     _bookService             = bookService;
     _genreService            = genreService;
     _bookAuthorService       = bookAuthorService;
     _authorService           = authorService;
 }
Ejemplo n.º 5
0
 public BookService(
     IBookRepository bookRepository,
     IAuthorRepository authorRepository,
     ICategoryRepository categoryRepository,
     IBookCategoryService bookCategoryService,
     IBookAuthorService bookAuthorService,
     DataContext context
     )
 {
     _authorRepository    = authorRepository;
     _categoryRepository  = categoryRepository;
     _bookCategoryService = bookCategoryService;
     _bookAuthorService   = bookAuthorService;
     _context             = context;
     _bookRepository      = bookRepository;
 }
Ejemplo n.º 6
0
 public BooksController(IBookService service, IBookAuthorService bookAuthorService)
 {
     _service           = service;
     _bookAuthorService = bookAuthorService;
 }
Ejemplo n.º 7
0
 public BookAuthorsController(LibraryDbContext context, IBookAuthorService bookAuthorService)
 {
     _context           = context;
     _bookAuthorService = bookAuthorService;
 }