示例#1
0
        public async Task <ResultWrapper <string[]> > vault_listVaults()
        {
            try
            {
                var result = await _vaultService.ListVaultIds();

                return(ResultWrapper <string[]> .Success(result.Select(id => id.ToString()).ToArray()));
            }
            catch (Exception e)
            {
                return(ResultWrapper <string[]> .Fail(e));
            }
        }