December 2019
Intermediate to advanced
598 pages
12h 21m
English
We don't always want all of the questions though. Recall that our frontend had a search feature that returned questions that matched the search criteria. Let's extend our GetQuestions method to handle a search request:
[HttpGet]public IEnumerable<QuestionGetManyResponse> GetQuestions(string search){ var questions = _dataRepository.GetQuestions(); return questions;}

We'll see that the search parameter is null. Press F5 to let ...
Read now
Unlock full access