Пример #1
0
 public AuthorAppService(
     IAuthorRepository authorRepository,
     AuthorManager authorManager)
 {
     _authorRepository = authorRepository;
     _authorManager    = authorManager;
 }
 public AuthorAppService(
     IAuthorRepository authorRepository,
     AuthorManager authorManager,
     IDistributedEventBus distributedEventBus,
     ICacheService <AuthorDto> cacheService)
 {
     _authorRepository    = authorRepository;
     _authorManager       = authorManager;
     _distributedEventBus = distributedEventBus;
     _cacheService        = cacheService;
 }