docs update
This commit is contained in:
parent
a7566e2cd3
commit
8a80013c94
3 changed files with 20 additions and 1 deletions
|
|
@ -123,7 +123,8 @@ public class SurveyController : ControllerBase
|
|||
{
|
||||
var userId = _userContext.UserId;
|
||||
|
||||
var result = await _surveyService.GetSurveysByUserIdAsync(userId);
|
||||
var surveys = await _surveyService.GetSurveysByUserIdAsync(userId);
|
||||
var result = surveys.Select(SurveyMapper.ModelToOutputDto);
|
||||
return Ok(result);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue