DAO e Factory Metody