DAO, Action refactoring