public GenericRepositoryAsync(ToeicOnlineContext dbContext) { _dbContext = dbContext; }
public ClassRepositoryAsync(ToeicOnlineContext dbContext, IMapper mapper) : base(dbContext) { _classes = dbContext.Set <Class>(); _mapper = mapper; }
public LevelRepositoryAsync(ToeicOnlineContext dbContext, IMapper mapper) : base(dbContext) { _levels = dbContext.Set <Level>(); _mapper = mapper; }
public ClassRepository(ToeicOnlineContext context) { _context = context; }