/// <inheritdoc />
        public async Task DeleteCredentialAsync(IAgentContext agentContext, string credentialId)
        {
            var credentialRecord = await GetAsync(agentContext, credentialId);

            try
            {
                await AnonCreds.ProverDeleteCredentialAsync(agentContext.Wallet, credentialRecord.CredentialId);
            }
            catch
            {
                // OK
            }
            await RecordService.DeleteAsync <CredentialRecord>(agentContext.Wallet, credentialId);
        }