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+45c8d9adb5970d727cceec44a5ed61aea0016e50
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