IAzureCosmosDbGetLogsOfCompany Method
Retrieves all
LogDto's belonging to
companyId.
Namespace: MobileTrack.DataContainers.CosmosAssembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
Task<GridResults<LogDto>> GetLogsOfCompany(
Guid companyId,
UserSessionData currentUser,
ushort pageSize = 50,
ushort skip = 0,
bool orderByDesc = true,
CancellationToken cancellationToken = default
)
- companyId Guid
- company to look up
- currentUser UserSessionData
- User performing the task
- pageSize UInt16 (Optional)
- page size
- skip UInt16 (Optional)
- Amount of entries to skip
- orderByDesc Boolean (Optional)
- Whether to order creation date in descending order
- cancellationToken CancellationToken (Optional)
- Cancellation token
TaskGridResultsLogDtoAll logs belonging to
CompanyDtocompanyId.