コード例 #1
0
        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);
        }
コード例 #2
0
        public async Task RemoveClientFromGroupAsync(string clientId, string groupName)
        {
            await _clientAssetGroupLinkRepository.RemoveAsync(clientId, groupName);

            await _assetGroupClientLinkRepository.RemoveAsync(clientId, groupName);

            await _cacheManager.RemoveClientFromCacheAsync(clientId);
        }
コード例 #3
0
        public async Task AddClientLayerAsync(string clientId, string layerId)
        {
            await _assetConditionLayerLinkClientRepository.AddAsync(clientId, layerId);

            await _cacheManager.RemoveClientFromCacheAsync(clientId);
        }