Creating Model Instances
In this lesson, you’ll learn to create model instances and save them to the backend.
We'll cover the following
Creating model instance
While building the “just works” version of adding communication with the backend, we realized some code is duplicated between saving a band and a song. The catalog again seems like a natural place to add this functionality since we made it the responsible party for backend communication. Let’s name the method that creates a new model instance and saves it to the backend create
.