public DatabaseRepository(OpenUniversityDbContext context) { _context = context; table = _context.Set <T>(); }
public DatabaseRepository() { _context = new OpenUniversityDbContext(); table = _context.Set <T>(); }