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); } }
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); } }