public async Task <IActionResult> GetValuesWithQuestions() { var valueWithQuestions = await repository.GetQuestionsWithValues(); var toReturn = mapper.Map <IEnumerable <QuestionForReturnDto> >(valueWithQuestions); return(Ok(toReturn.OrderByDescending(q => q.sendDate))); }