public Table GetByID(int id) { try { return(tab_DAO.DB_GetTableByID(id)); } catch { //return a fake table information in case database connection is not working; return(new Table(1, 0)); } }