Creating a Repository Method to Get Questions
Learn about repository patterns to obtain a list of questions.
We'll cover the following
Implementation of repository method to get questions
Let’s implement the GetQuestions
method first:
Let’s add a couple of
using
statements at the top of the file for the Microsoft SQLc lient library, as well asDapper
:
Get hands-on with 1400+ tech skills courses.