Example #1
0
 public bool checkExist(string tableName, int id)
 {
     try
     {
         DataAccessLayer.DALCommon.DALCommon dALCommon = new DataAccessLayer.DALCommon.DALCommon();
         return(dALCommon.checkExist(tableName, id));
     }
     catch (Exception ex)
     {
         ExceptionsWriter.saveExceptionToLogFile(ex);
         return(false);
     }
 }
Example #2
0
 public bool checkExist(string tableName, int id)
 {
     try
     {
         DataAccessLayer.DALCommon.DALCommon dALCommon = new DataAccessLayer.DALCommon.DALCommon();
         return(dALCommon.checkExist(tableName, id));
     }
     catch (Exception ex)
     {
         ExceptionsWriter.saveEventsAndExceptions(ex, "Exceptions not handled", EventLogEntryType.Error);
         return(false);
     }
 }