Store the data in the Local Storage

created a method that accept uuid, type of object, array and pagination.
and save the paginated data to local storage.