IAzureCosmosDbCreateIpAddressStatusAutomatically Method
Creates an IP Address Status in the database from Login.cshtml.cs
Namespace: MobileTrack.DataContainers.CosmosAssembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
Task<IpAddressStatusDto> CreateIpAddressStatusAutomatically(
IpAddressStatusDto ipAddressStatus,
AccountDto createdBy,
string ipAddress,
CancellationToken cancellationToken = default
)
- ipAddressStatus IpAddressStatusDto
- IP white/blacklist entry to create
- createdBy AccountDto
- User who, by logging in, caused the new IP Address Status
- ipAddress String
- The IP Address of createdBy
- cancellationToken CancellationToken (Optional)
- Cancellation token (optional)
TaskIpAddressStatusDtoCosmos DB Object-creation
Task