Is there a way to call multiple blocks in a single controller in Magento 2?
The below code only populate the single grid but I want it to return two blocks.
public function execute()
{
/* @var MagentoFrameworkControllerResultRaw $resultRaw /
$resultRaw = $this->_resultRawFactory->create();
return $resultRaw->setContents(
$this->_layoutFactory->create()->createBlock(
VendorModuleNameBlockAdminhtmlReportGrid::class,
'mytestgrid'
)->toHtml()
);
}