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