renamed GetAll to GetAllResource - made resource immutable