コード例 #1
0
 public BooksAsyncController(IBooksAsyncRepository books)
 {
     this.books = books;
 }
コード例 #2
0
 public BooksCachedAsyncRepository(IBooksAsyncRepository repository, IMemoryCache cache, ILogger <BooksCachedAsyncRepository> logger)
 {
     this.repository = repository;
     this.cache      = cache;
     this.logger     = logger;
 }