Class ConsentManagement
Inheritance
ConsentManagement
Assembly: SoDataBase.dll
Syntax
public static class ConsentManagement
Methods
GetConsentInfosAsync(int, CancellationToken)
Declaration
public static Task<ConsentInfo[]> GetConsentInfosAsync(int personId, CancellationToken cancellationToken = default)
Parameters
Returns
GetConsentRowAsync(int, int, int, int, string, CancellationToken)
Declaration
public static Task<ConsentPersonRow> GetConsentRowAsync(int personId, int consentPurposeId, int consentSourceId, int legalBaseId, string comment, CancellationToken cancellationToken = default)
Parameters
Returns
GetConsentRowAsync(int, string, string, string, string, CancellationToken)
Declaration
public static Task<ConsentPersonRow> GetConsentRowAsync(int personId, string purposeKey, string sourceKey, string legalBaseKey, string comment, CancellationToken cancellationToken = default)
Parameters
Returns
GetStoreConsentInfoAsync(int, CancellationToken)
Declaration
public static Task<ConsentInfo[]> GetStoreConsentInfoAsync(int personId, CancellationToken cancellationToken = default)
Parameters
Returns
HasConsentAsync(int, string, CancellationToken)
Declaration
public static Task<bool> HasConsentAsync(int personId, string purposeKey, CancellationToken cancellationToken = default)
Parameters
Returns
RemoveConsentAsync(int, string, CancellationToken)
Declaration
public static Task RemoveConsentAsync(int personId, string purposeKey, CancellationToken cancellationToken = default)
Parameters
Returns
SetConsentAsync(int, int, int, int, string, CancellationToken)
Declaration
public static Task SetConsentAsync(int personId, int consentPurposeId, int consentSourceId, int legalBaseId, string comment, CancellationToken cancellationToken = default)
Parameters
Returns
SetConsentAsync(int, string, string, string, string, CancellationToken)
Declaration
public static Task SetConsentAsync(int personId, string purposeKey, string sourceKey, string legalBaseKey, string comment, CancellationToken cancellationToken = default)
Parameters
Returns