public AuctionLotManager( IAuctionLotRepository auctionLotRepository, IAuctionLotCacheService cacheService) { _repository = auctionLotRepository; _cacheService = cacheService; }
public LotsController( ApplicationSettings settings, IAuctionLotCacheService auctionLotCacheService, AuctionLotManager auctionLotManager) { _settings = settings; _auctionLotCacheService = auctionLotCacheService; _auctionLotManager = auctionLotManager; }
public void SetUp() { RegisterDependencies(); _auctionLotCacheService = Container.Resolve <IAuctionLotCacheService>(); _auctionLotManager = Container.Resolve <AuctionLotManager>(); }