AccountRepositoryGetCompanyAccounts Method

Get all accounts from a company based on their deletion state

Definition

Namespace: MobileTrack.DataContainers.Repositories
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public Task<Dictionary<Guid, AccountDto>> GetCompanyAccounts(
	CompanyDto company,
	bool deletedItems,
	CancellationToken cancellationToken
)

Parameters

company  CompanyDto
Company to get the accounts from
deletedItems  Boolean
If , we'll return the soft-deleted items.
cancellationToken  CancellationToken
Cancellation token

Return Value

TaskDictionaryGuid, AccountDto
Accounts belonging to the company

See Also