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