Chapter 4, Adding a ListView, we created the specialized
POIService class that handles the logic for downloading data using the
await keywords in conjunction with
HttpClient. For now, the
POIService class has only one method
GetPoisListAsync(), that deals with fetching the list of records from the REST web service. Let's extend its functionality to create a new or update and delete a POI. Let's first start with creating a POI.
At this point, we have already deployed the web service provided in the book code bundle, and
POIApp is already consuming the same web services to fetch the list of POIs. In this section, we will use the same ...