position controller getAll method done using DTO object and DTO factory