public UnitOfWork(ActiveLearningContext context) { _context = context; Admins = new AdminRepository(_context); Chats = new ChatRepository(_context); Contents = new ContentRepository(_context); Courses = new CourseRepository(_context); Instructor_Course_Maps = new Instructor_Course_MapRepository(_context); Instructors = new InstructorRepository(_context); QuizAnswers = new QuizAnswerRepository(_context); QuizOptions = new QuizOptionRepository(_context); QuizQuestions = new QuizQuestionRepository(_context); Student_Course_Maps = new Student_Course_MapRepository(_context); Students = new StudentRepository(_context); Users = new UserRepository(_context); }
public UserRepository(ActiveLearningContext context) : base(context) { }