public UnitOfWork(StudentsManagamentContext context) { _context = context; Students = new StudentRepository(_context); Teachers = new TeacherRepository(_context); Activities = new ActivityRepository(_context); }
public TeacherRepository(StudentsManagamentContext context) : base(context) { }
public ActivityRepository(StudentsManagamentContext context) : base(context) { }
public StudentRepository(StudentsManagamentContext context) : base(context) { }