In this section, we will begin updating our WalkDataModel so that it can communicate and interact with our RestWebService class, which will call methods to perform CRUD operations to create, retrieve, update, and delete walk trail information within our SQL Server database.
Let's take a look at how we can achieve this by going through the following steps:
- Locate and open the WalkDataModel.cs file, which is located in the Models folder, and ensure that it is displayed within the code editor. Enter the following highlighted code sections:
// // WalkDataModel.cs // Data Model that will store Walk Trail Information // // Created by Steven F. Daniel on 14/05/2018 // Copyright © 2018 GENIESOFT ...