Exemplo n.º 1
0
 public UnitOfWork(StudentsManagamentContext context)
 {
     _context   = context;
     Students   = new StudentRepository(_context);
     Teachers   = new TeacherRepository(_context);
     Activities = new ActivityRepository(_context);
 }
 public TeacherRepository(StudentsManagamentContext context)
     : base(context)
 {
 }
Exemplo n.º 3
0
 public ActivityRepository(StudentsManagamentContext context)
     : base(context)
 {
 }
Exemplo n.º 4
0
 public StudentRepository(StudentsManagamentContext context)
     : base(context)
 {
 }