private async Task SaveRedis() { List <RoleAction> ras = await _RoleRepo.GetRoleActionAll(); _cache.SetString(REDIS_AUTH_KEY_ROLEACTION, JsonConvert.SerializeObject(ras)); }