Redirecting Back to the List Page7:12 with James Churchill
Let’s update our controller’s “Add” action method to display the “Entries” list page after successfully adding a new entry.
To follow along commiting your changes to this course, you'll need to fork the aspnet-fitness-frog repo. Then you can clone, commit, and push your changes to your fork like this:
git clone <your-fork> cd aspnet-fitness-frog git checkout tags/v2.9 -b redirecting-back-to-the-list-page
See this Wikipedia page for more information about the Post/Redirect/Get design pattern.
You need to sign up for Treehouse in order to download course files.Sign up