protected Repository(DispatchingReadDbContext dbContext, IApply <T> mapper)
 {
     _dbContext = dbContext ?? throw new ArgumentNullException(nameof(dbContext));
     _mapper    = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
Example #2
0
 public CabRideRepository(DispatchingReadDbContext dispatchingReadContext, IApply <CabRide> mapper) : base(dispatchingReadContext, mapper)
 {
     _dispatchingReadContext = dispatchingReadContext;
 }