Пример #1
0
 public void Editar(ReservaDTO reserva)
 {
     try
     {
         ReservaDAO reservaDAO = new ReservaDAO();
         reservaDAO.EditarReserva(reserva);
     }
     catch (Exception ex)
     {
         throw new Exception("Erro ao editar reserva: " + ex.Message);
     }
 }