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