private async Task <string> CreateMailBodyByTopResultsAsync(string[] topResults) { var stringBuilder = new StringBuilder(); foreach (var topResult in topResults) { var testResult = await _testResultRepository.GetByValueAsync(topResult); stringBuilder.AppendLine(testResult.TestResultTitles.First().Description); stringBuilder.AppendLine(testResult.TestResultTitles.First().Explanation); } return(stringBuilder.ToString()); }