We configured our application to use MVC services and added the Web API controller. Now, let's add the models needed for our My Todo application. Follow these steps to add a model named Todo:
- Right-click on the My Todo project, navigate to Add | New Folder, and name the folder Models:
Add a new folder for Models under the My Todo project
- Now, right-click on the Models folder that we just created and go to Add | Class....:
Add a class for the Todo object under the Models folder
- Name the class Todo ...