public PurchasesController(BooksService booksService, AuthorsService authorsService, PurchasesService purchasesService, PurchasesHistoryService purchaseshistoryservice) { this.booksService = booksService; this.authorsService = authorsService; this.purchasesService = purchasesService; purchasesHistoryService = purchaseshistoryservice; }
public AuthorsController(BooksService booksService, AuthorsService authorsService) { this.booksService = booksService; this.authorsService = authorsService; }