public BookResourceAssembler(IBookService bookService, Lazy <AuthorResourceAssembler> authorAssemblerLazy, LendingRecordResourceAssembler lendingRecordAssembler, IUrlProvider urlProvider) : base(urlProvider) { BookService = bookService; _authorAssemblerLazy = authorAssemblerLazy; LendingRecordAssembler = lendingRecordAssembler; }
public BorrowController(ILendingService lendingService, LendingRecordResourceAssembler recordAssembler) { LendingService = lendingService; RecordAssembler = recordAssembler; }
public LendingRecordController(ILendingService lendingService, LendingRecordResourceAssembler assembler) { LendingService = lendingService; RecordAssembler = assembler; }