Show/Hide Toolbars

The following sample deletes an existing account record.

Code Snippet

//for this example, it is assumed that you already know the target account record's unique key (where uniqueKey is a String variable)

protected AccountRepository accountRepository;

accountRepository.deleteAccount(uniqueKey);