Exemplo n.º 1
0
        public async Task UpdateJsonConfig(
            int configId,
            string data,
            CancellationToken token = default,
            string type             = JsonType)
        {
            ConfigCache cache = await CacheQuery(configId, type).SingleAsync(token);

            cache.UpdateValue(data);
            await _objectConfigContext.SaveChangesAsync(token);
        }