public UnitOfWork(AppIdentityDbContext _context)
 {
     _identityContext = _context;
 }
Exemple #2
0
 public GenericRepository(AppIdentityDbContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <TEntity>();
 }