public GetAllReadersRequestHandler(
     IReadersRepository readersRepository,
     IGraphRepository graphRepository)
 {
     this.readersRepository = readersRepository;
     this.graphRepository   = graphRepository;
 }
Example #2
0
 public GetSingleReaderQueryHandler(IReadersRepository repository)
 {
     this.repository = repository;
 }
 public CreateReaderCommandHandler(IReadersRepository repository)
 {
     this.repository = repository;
 }
 public GetAllReadersQueryHandler(IReadersRepository repository)
 {
     this.repository = repository;
 }
Example #5
0
 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;
 }
Example #7
0
 public ReadersController(IReadersRepository repository)
 {
     _repository = repository;
 }
 public DataService(IReadersRepository readers)
 {
     _readers = readers;
 }