Example #1
0
 public EfRepository(IEfContextManager <ApplicationDbContext> contextManager)
 {
     Context = contextManager.GetContext();
 }
Example #2
0
 public EfUnitOfWorkFactory(IEfContextManager <ApplicationDbContext> contextManager)
 {
     _context = contextManager.GetContext();
 }