Пример #1
0
 public UserRepository(IExamBuilderDbContext context)
 {
     _context = context;
     _dbSet   = _context.Set <User>();
 }
Пример #2
0
 public OptionRepository(IExamBuilderDbContext context)
 {
     _context = context;
     _dbSet   = _context.Set <Option>();
 }
Пример #3
0
 public ExamRepository(IExamBuilderDbContext context)
 {
     _context = context;
     _dbSet   = _context.Set <Exam>();
 }