예제 #1
0
 public RestaurantCacheService(IRestaurantService restaurantService)
 {
     this.restaurantCache = new RestaurantCache(restaurantService);
 }
예제 #2
0
 public HomeController(ILogger <HomeController> logger, RestaurantCacheService restaurantCacheService)
 {
     this.logger          = logger;
     this.restaurantCache = restaurantCacheService.restaurantCache;
 }