public GetAllReadersRequestHandler( IReadersRepository readersRepository, IGraphRepository graphRepository) { this.readersRepository = readersRepository; this.graphRepository = graphRepository; }
public GetSingleReaderQueryHandler(IReadersRepository repository) { this.repository = repository; }
public CreateReaderCommandHandler(IReadersRepository repository) { this.repository = repository; }
public GetAllReadersQueryHandler(IReadersRepository repository) { this.repository = repository; }
public CachedReadersRepository(IReadersRepository repo, IMemoryCache cache) { this.repo = repo; this.cache = cache; }
// default constructor // where any instance level // assignments happen public ReadersController(IReadersRepository repo, IHostEnvironment environment) { _repo = repo; _env = environment; }
public ReadersController(IReadersRepository repository) { _repository = repository; }
public DataService(IReadersRepository readers) { _readers = readers; }