Method GetDefaultProfileAsync
GetDefaultProfileAsync(Country, CancellationToken)
Returns the default profile for the given country
Declaration
Task<IProfile?> GetDefaultProfileAsync(Country country, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Country | country | The country to get the default profile for |
| CancellationToken | cancellationToken | The optional cancellation token |
Returns
| Type | Description |
|---|---|
| Task<IProfile> | The default profile for the given country (or null if none is defined) |