public BusinessObjects.Models.Counter selectCounterById(int counterId, int bankId) { try { DataAccessLayer.DALCounter.DALCounter dALCounter = new DataAccessLayer.DALCounter.DALCounter(); return(dALCounter.selectCounterById(counterId, bankId)); } catch (Exception ex) { ExceptionsWriter.saveExceptionToLogFile(ex); return(null); } }
public BusinessObjects.Models.Counter selectCounterById(int counterId, int bankId) { try { DataAccessLayer.DALCounter.DALCounter dALCounter = new DataAccessLayer.DALCounter.DALCounter(); return(dALCounter.selectCounterById(counterId, bankId)); } catch (Exception ex) { ExceptionsWriter.saveEventsAndExceptions(ex, "Exceptions not handled", EventLogEntryType.Error); return(null); } }