public GetBooksStrategy( IBooksRepository booksRepository, ICreateBookLinksStrategy createLinksStrategy, IMapper mapper) { this.booksRepository = booksRepository; this.createLinksStrategy = createLinksStrategy; this.mapper = mapper; }
public UpdateBookStrategy( IMapper mapper, IBooksRepository booksRepository, IAuthorRepository authorsRepository, ICreateBookLinksStrategy createLinksStrategy) { this.mapper = mapper; this.booksRepository = booksRepository; this.authorsRepository = authorsRepository; this.createLinksStrategy = createLinksStrategy; }