public UnitOfWork(LabAssistantContext context) { _context = context; LecturerRepo = new LecturerRepository(_context); StudentRepo = new StudentRepository(_context); SessionRepository = new SessionRepository(_context); QuestionRepository = new QuestionRepository(_context); CommentRepository = new CommentRepository(_context); AnswerRepository = new AnswerRepository(_context); GroupRepository = new GroupRepository(_context); }
public LecturerRepository(LabAssistantContext context) : base(context) { }
public SessionRepository(LabAssistantContext context) : base(context) { }
public CommentRepository(LabAssistantContext context) : base(context) { }
public GroupRepository(LabAssistantContext context) : base(context) { }
public AnswerRepository(LabAssistantContext context) : base(context) { }