public ChallengesDbContextSeeder(ChallengesDbContext context, IWebHostEnvironment environment, ILogger <ChallengesDbContextSeeder> logger) : base( context, environment, logger) { Challenges = context.Set <ChallengeModel>(); }
public MatchQuery(ChallengesDbContext context) { Matches = context.Set <MatchModel>().AsNoTracking(); }
public ChallengeRepository(ChallengesDbContext context) { UnitOfWork = context; Challenges = context.Set <ChallengeModel>(); }
public ChallengeQuery(ChallengesDbContext context) { Challenges = context.Set <ChallengeModel>().AsNoTracking(); }
public ParticipantQuery(ChallengesDbContext context) { Participants = context.Set <ParticipantModel>().AsNoTracking(); }