AccountRepositoryGetAccountById Method
Retrieves a single account.
Namespace: MobileTrack.DataContainers.RepositoriesAssembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public Task<AccountDto?> GetAccountById(
CompanyDto company,
Guid accountId,
bool deletedItem,
CancellationToken cancellationToken
)
- company CompanyDto
- Company to get the accounts from
- accountId Guid
- Account to look up.
- deletedItem Boolean
-
If , we'll return the soft-deleted item.
If , a non-deleted item.
- cancellationToken CancellationToken
- Cancellation token
TaskAccountDtoFound account, or
if not found.