예제 #1
0
 public BusinessObjects.Models.ResultsEnum deleteAllocateCounterService(int allocateId, int counterId, int bankId)
 {
     try
     {
         DataAccessLayer.DALAllocateCounterService.DALAllocateCounterService dALAllocateCounterService = new DataAccessLayer.DALAllocateCounterService.DALAllocateCounterService();
         return(dALAllocateCounterService.deleteAllocateCounterService(allocateId, counterId, bankId));
     }
     catch (Exception ex)
     {
         ExceptionsWriter.saveExceptionToLogFile(ex);
         return(BusinessObjects.Models.ResultsEnum.notDeleted);
     }
 }
예제 #2
0
 public BusinessObjects.Models.sqlResultsEnum deleteAllocateCounterService(int allocateId, int counterId, int bankId)
 {
     try
     {
         DataAccessLayer.DALAllocateCounterService.DALAllocateCounterService dALAllocateCounterService = new DataAccessLayer.DALAllocateCounterService.DALAllocateCounterService();
         return(dALAllocateCounterService.deleteAllocateCounterService(allocateId, counterId, bankId));
     }
     catch (Exception ex)
     {
         ExceptionsWriter.saveEventsAndExceptions(ex, "Exceptions not handled", EventLogEntryType.Error);
         return(BusinessObjects.Models.sqlResultsEnum.failed);
     }
 }