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