title: How to call Cms Block content and html in controller file back end magento2
body: <p>I'm Working with  <code>magneto 2.</code> I want to get cms block content  in my custom module controller file.</p>
  
  <p>I want to know to Get the my custom module controller file. i'm not able to do.
  i have used code</p>
  
  <pre><code>echo $this-&gt;getLayout()-&gt;createBlock('cms/block')-&gt;setBlockId('block_identifier')-&gt;toHtml();
  </code></pre>
  
  <p><strong>inside  my controller but  code is not working.
  How can I do?</strong></p>