IAzureCosmosDbGetIpAddressStatuses Method

Retrieves the white/blacklist of IpAddressStatusDtoes for company in a neat order.
If company is , we'll retrieve the global IP Address Status list.

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
Task<GridResults<IpAddressStatusDto>> GetIpAddressStatuses(
	CompanyDto? company,
	UserSessionData currentUser,
	bool isWhiteList,
	IReadOnlyCollection<FilterItem> filters,
	IReadOnlyCollection<SortingItem> sorting,
	ushort pageSize,
	ushort skip,
	CancellationToken cancellationToken = default
)

Parameters

company  CompanyDto
Company the IP Address status belong to.
currentUser  UserSessionData
User trying to get the data
isWhiteList  Boolean
Whether to show the white list () or the blacklist ()
filters  IReadOnlyCollectionFilterItem
Properties to filter on
sorting  IReadOnlyCollectionSortingItem
Properties to sort on
pageSize  UInt16
Size of the page.
skip  UInt16
Pages to skip
cancellationToken  CancellationToken  (Optional)
Cancellation token

Return Value

TaskGridResultsIpAddressStatusDto
Retrieved statuses, if any.

See Also