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