Exemplo n.º 1
0
 public TeacherFactory(ApplicationDbContext context, IPositionFactory positionFactory)
 {
     _context         = context;
     _proxyFactory    = new TeacherProxyFactory(context);
     _positionFactory = positionFactory;
 }
Exemplo n.º 2
0
 public EFTeacherRepository(ApplicationDbContext context)
 {
     _context      = context;
     _proxyFactory = new TeacherProxyFactory(context);
 }