add completions methods (not final)
This commit is contained in:
parent
58b5b2b17d
commit
c2f6ba6dde
4 changed files with 23 additions and 5 deletions
|
|
@ -14,8 +14,9 @@ public static class CompletionMapper
|
|||
|
||||
public static CompletionOutputDto ModelToOutputDto(Completion model) => new CompletionOutputDto
|
||||
{
|
||||
Id = model.Id,
|
||||
SurveyId = model.SurveyId,
|
||||
CompletedBy = model.CompletedBy,
|
||||
FinishedAt = model.FinishedAt,
|
||||
Answers = model.Answers.Select(AnswerMapper.ModelToOutputDto).ToList(),
|
||||
FinishedAt = model.FinishedAt
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue