示例#1
0
        public async Task <ResultWrapper <provide.Model.Vault.Vault> > vault_createVault(provide.Model.Vault.Vault vault)
        {
            try
            {
                provide.Model.Vault.Vault vaultId = await _vaultService.CreateVault(vault);

                return(ResultWrapper <provide.Model.Vault.Vault> .Success(vaultId));
            }
            catch (Exception e)
            {
                return(ResultWrapper <provide.Model.Vault.Vault> .Fail(e));
            }
        }