ItemBaseRepositoryTDeleteList(IDictionaryGuid, T, AccountDto, CompanyDto, Boolean, CancellationToken) Method

Deletes a stack of items

Definition

Namespace: MobileTrack.DataContainers.Repositories
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
internal Task DeleteList(
	IDictionary<Guid, T> items,
	AccountDto deletedBy,
	CompanyDto company,
	bool forceDelete,
	CancellationToken cancellationToken
)

Parameters

items  IDictionaryGuid, T
Items stack
deletedBy  AccountDto
User deleting the items
company  CompanyDto
Company the items belong to
forceDelete  Boolean
Whether to force delete the items, regardless of the company's settings or the current soft-delete status of items.
cancellationToken  CancellationToken
Cancellation token (optional)

Return Value

Task
Task completion

See Also