Adding a Base Controller Class6:56 with James Churchill
Let's see how we can prevent duplicating the code—from controller to controller—that's used to manage the lifetime of the database context.
To follow along committing your changes to this course, you'll need to fork the dotnet-comic-book-library-manager repo. Then you can clone, commit, and push your changes to your fork like this:
git clone <your-fork> cd dotnet-comic-book-library-manager git checkout tags/v2.8 -b adding-a-base-controller-class
CTRL+H- Quick Replace
SHIFT+ALT+ENTER- Toggle fullscreen mode
You need to sign up for Treehouse in order to download course files.Sign up