Example #1
0
 public BusinessObjects.Models.Bank insertBank(BusinessObjects.Models.Bank pBank)
 {
     try
     {
         DataAccessLayer.DALBank.DALBank dALbank = new DataAccessLayer.DALBank.DALBank();
         return(dALbank.insertBank(pBank));
     }
     catch (Exception ex)
     {
         ExceptionsWriter.saveEventsAndExceptions(ex, "Exceptions not handled", EventLogEntryType.Error);
         return(null);
     }
 }
Example #2
0
 public BusinessObjects.Models.Bank insertBank(BusinessObjects.Models.Bank pBank)
 {
     try
     {
         DataAccessLayer.DALBank.DALBank dALbank = new DataAccessLayer.DALBank.DALBank();
         return(dALbank.insertBank(pBank));
     }
     catch (Exception ex)
     {
         ExceptionsWriter.saveExceptionToLogFile(ex);
         return(null);
     }
 }