title: Get Current Product Information in Controller Magento 2?
body: <p>I want to get the current product information in a controller.</p>
  
  <p>I created a function in block, and called that function in my phtml file.</p>
  
  <p>How can I accomplish this task?</p>