Revert "Revert "Adicionando foreach() nas classes DAO""

This reverts commit 7fe96c9d39415c1a0cb78eb32dabb3b4f5c2040c.