private async Task <IActionResult> MakeMessageForGroup(string groep) { var childList = await _dataProcessor.GetChildList(groep); var attachment = _attachmentProcessor.GetExcel(childList, groep); var fileContentResult = new FileContentResult(attachment, "application/xlsx") { FileDownloadName = $"{groep}.xlsx" }; return(fileContentResult); }