public BaseRepository(TenantContext tenantContext) { this._tenantContext = tenantContext; this.dbSet = tenantContext.Set <TEntity>(); }