Creating a Repository Method to Get a Single Question

Learn to create a repository method that retrieves a single question and its corresponding answers.

Let’s implement the GetQuestion method now:

  1. Start by opening the connection and executing the Question_GetSingle stored procedure:

Get hands-on with 1400+ tech skills courses.