Esempio n. 1
0
 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);
 }
Esempio n. 2
0
 public LecturerRepository(LabAssistantContext context) : base(context)
 {
 }
Esempio n. 3
0
 public SessionRepository(LabAssistantContext context) : base(context)
 {
 }
Esempio n. 4
0
 public CommentRepository(LabAssistantContext context) : base(context)
 {
 }
Esempio n. 5
0
 public GroupRepository(LabAssistantContext context) : base(context)
 {
 }
Esempio n. 6
0
 public AnswerRepository(LabAssistantContext context) : base(context)
 {
 }