Exemple #1
0
 public TeacherFactory(ApplicationDbContext context, IPositionFactory positionFactory)
 {
     _context         = context;
     _proxyFactory    = new TeacherProxyFactory(context);
     _positionFactory = positionFactory;
 }
Exemple #2
0
 public EFTeacherRepository(ApplicationDbContext context)
 {
     _context      = context;
     _proxyFactory = new TeacherProxyFactory(context);
 }