public bool AccountExists(int accountId) { return(_AccountsRepository.GetAccountById(accountId) != null); }
public async Task <AccountDetail> GetAccountById(int id) { return(await _accountsRepository.GetAccountById(id)); }