Ejemplo n.º 1
0
 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);
     }
 }
Ejemplo n.º 2
0
 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);
     }
 }