public bool ExcluirConsulta(int id) { retvalor = false; try { oConsultaDAO = new ConsultaDAO(); retvalor = oConsultaDAO.ExcluirConsulta(id); } catch (Exception ex) { throw ex; } finally { oConsultaDAO = null; } return(retvalor); }
public bool ExcluirConsulta(int id) { retvalor = false; try { oConsultaDAO = new ConsultaDAO(); retvalor = oConsultaDAO.ExcluirConsulta(id); } catch (Exception ex) { throw ex; } finally { oConsultaDAO = null; } return(retvalor); }