コード例 #1
0
 public AuthorAppService(
     IAuthorRepository authorRepository,
     AuthorManager authorManager)
 {
     _authorRepository = authorRepository;
     _authorManager    = authorManager;
 }
コード例 #2
0
 public AuthorAppService(
     IAuthorRepository authorRepository,
     AuthorManager authorManager,
     IDistributedEventBus distributedEventBus,
     ICacheService <AuthorDto> cacheService)
 {
     _authorRepository    = authorRepository;
     _authorManager       = authorManager;
     _distributedEventBus = distributedEventBus;
     _cacheService        = cacheService;
 }