public RunRepository(iBalekaDBContext dbContext, IEventRepository _eventRepo, IEventRegistrationRepository _eventRegRepo) : base(dbContext) { DbContext = dbContext; eventRepo = _eventRepo; eventRegRepo = _eventRegRepo; }
public RouteRepository(iBalekaDBContext dbContext, IRunRepository _runRepo, IEventRepository _eventRepo) : base(dbContext) { runRepo = _runRepo; eventRepo = _eventRepo; DbContext = dbContext; }
public ClubRepository(iBalekaDBContext dbContext, IAthleteRepository athleteRepo) : base(dbContext) { DbContext = dbContext; _athleteRepo = athleteRepo; }
public UnitOfWork(iBalekaDBContext dbContext) { DbContext = dbContext; }
protected RepositoryBase(iBalekaDBContext dbContext) { DbContext = dbContext; dbSet = DbContext.Set <T>(); }
public EventRepository(iBalekaDBContext dbContext, IClubRepository clubRep) { DbContext = dbContext; _clubRepo = clubRep; }
public AthleteRepository(iBalekaDBContext dbContext) : base(dbContext) { DbContext = dbContext; }
public EventRegistrationRepository(iBalekaDBContext dbContext, IAthleteRepository athleteRepo) { DbContext = dbContext; _athleteRepo = athleteRepo; }