public async Task <FileStreamResult> GetMessageBody(Direction direction, long id) { return(File(await monitorService.DownloadMessageBody(direction, id), "application/xml")); }