public async Task DeleteBasketAsync(string id) { await _redisManager.DeleteAsync(id); }
public async Task <IActionResult> UpdateConfig(string key) { return(Ok(await _redisManager.DeleteAsync(key))); }
/// <summary> /// 注销服务实例 /// </summary> /// <param name="serviceDesc">服务描述</param> public async Task Deregister(ServiceDescription serviceDesc) { string key = GetKey(serviceDesc.ServiceName, serviceDesc.Id); await _redisManager.DeleteAsync(key).ConfigureAwait(false); }
private Task ClearRedisCache() { return(_redisManager.DeleteAsync(RedisKeyConsts.Customer)); }