コード例 #1
0
 public List <BankAccountObject> GetBankAccounts()
 {
     try
     {
         var objList = _bankAccountRepository.GetBankAccounts();
         if (objList == null)
         {
             return(new List <BankAccountObject>());
         }
         return(objList);
     }
     catch (Exception ex)
     {
         ErrorLogger.LogError(ex.StackTrace, ex.Source, ex.Message);
         return(new List <BankAccountObject>());
     }
 }