public Repository(eLearningContext context) { _context = context; dbSet = _context.Set <Entity>(); }
public UnitOfWork(eLearningContext context = null) { _context = context; }
public Repository(eLearningContext context) { _context = context; dbSet = _context.Set <Entity>(); }
public UnitOfWork(eLearningContext context = null) { _context = context; }