public QuestionsController(ELearningContext context) { _context = context; }
public UsersController(ELearningContext context) { _context = context; }
public AssignmentsController(ELearningContext context) { _context = context; }
public TransactionMiddleware(ELearningContext eLearningContext) { ELearningContext = eLearningContext; }
public EntityFrameworkRepository(ELearningContext context, IServiceScopeFactory scopeFactory) { Db = context; DbSet = Db.Set <TEntity>(); ScopeFactory = scopeFactory; }
public TestsController(ELearningContext context) { _context = context; }