3. Update the screen

In order to check whether the data has been deleted or not,
first fetch the data from the JSONPlaceholder
using the http.get() method, and display it in the screen.
(See the Fetch Data recipe for a complete example.)
You should now have a Delete Data button that,
when pressed, calls the deleteAlbum() method.

Now, when you click on the Delete Data button,
the deleteAlbum() method is called and the id
you are passing is the id of the data that you retrieved
from the internet. This means you are going to delete
the same data that you fetched from the internet.

Returning a response from the deleteAlbum() method

Once the delete request has been made,
you can return a response from the deleteAlbum()
method to notify our screen that the data has been deleted.