public async Task AddClientLayerAsync(string clientId, string layerId) { await _myNoSqlWriter.TryDeleteAsync(AssetConditionNoSql.GeneratePartitionKey(clientId), AssetConditionNoSql.GenerateRowKey()); await _assetConditionLayerLinkClientRepository.AddAsync(clientId, layerId); await _cacheManager.RemoveClientFromCacheAsync(clientId); }
public async Task RemoveClientFromGroupAsync(string clientId, string groupName) { await _clientAssetGroupLinkRepository.RemoveAsync(clientId, groupName); await _assetGroupClientLinkRepository.RemoveAsync(clientId, groupName); await _cacheManager.RemoveClientFromCacheAsync(clientId); }
public async Task AddClientLayerAsync(string clientId, string layerId) { await _assetConditionLayerLinkClientRepository.AddAsync(clientId, layerId); await _cacheManager.RemoveClientFromCacheAsync(clientId); }