Example #1
0
 public CheapestReturnFlightsRepositoryStorageStrategyDecorator(
     ICheapestReturnFlightsRepository innerRepository,
     IReturnFlightArchivesStorageStrategy storageStrategy)
 {
     _innerRepository = innerRepository;
     _storageStrategy = storageStrategy;
 }
Example #2
0
 public HomeController(
     ICheapestFlightFinder flightFinder,
     MemoryCache cache,
     ICheapestReturnFlightsRepository cheapestReturnFlightsRepository,
     IClock clock)
 {
     _flightFinder = flightFinder;
     _cache        = cache;
     _cheapestReturnFlightsRepository = cheapestReturnFlightsRepository;
     _clock = clock;
 }