public HintController(IAttemptRepository repository, IHubContext <HintsHub> hintsHub, IHintRepository hintRepository) { _repository = repository; _hintsHub = hintsHub; _hintRepository = hintRepository; }
public HintController(IHintRepository _hintRepository, IUserRepository _userRepository, IMediaRepository _mediaRepository, IVoteRepository _voteRepository, IConfiguration _config) { hintRepository = _hintRepository; userRepository = _userRepository; mediaRepository = _mediaRepository; voteRepository = _voteRepository; config = _config; }
public PostController(IPostRepository _postRepository, ITagRepository _tagRepository, IMediaRepository _mediaRepository, IUserRepository _userRepository, ILocationRepository _locationRepository, IVoteRepository _voteRepository, IReportingRepository _reportingRepository, IHintRepository _hintRepository) { postRepository = _postRepository; mediaRepository = _mediaRepository; userRepository = _userRepository; locationRepository = _locationRepository; voteRepository = _voteRepository; reportingRepository = _reportingRepository; tagRepository = _tagRepository; hintRepository = _hintRepository; }
public CachingRepository(IHintRepository repository, TimeSpan cacheTime) { _repository = repository; _cache = new MemoryCache(new MemoryCacheOptions()); _cacheTime = cacheTime; }
public IndexModel(IAttemptRepository attemptRepository, IHintRepository hintRepository) { _attemptRepository = attemptRepository; _hintRepository = hintRepository; }
public AppController(IHintRepository repository, IConfigurationRoot config) { _config = config; _repository = repository; }
public HintsController(IHintRepository repository) { _repository = repository; }