Create Razor Pages app that uses Customer Repository
In the previous article we completed the CustomerRepository class that performs CRUD operations on the Customers table. Now it's time to use the CustomerRepository in a Razor Pages application so that we can test the CRUD operations from the browser.
http://www.binaryintellect.net/articles/94c81c8d-ad45-4c45-a81f-612bb9741f4d.aspx