title: How to pass data to _Layout.cshtml
body: <p>At _Layout.cshtml used by all pages, when any background image is selected, I want to display the selected picture. But, I dont ,unfortunately, know how to pass this data to _Layout.cshtml.</p>
  
  <p>AT _Layout.cshtml</p>
  
  <pre><code>&lt;style type="text/css"&gt;
          #body-bg {
              background-image: url('//I want to change here');
          }
  &lt;/style&gt;
  </code></pre>
  
  <p>How should i do? From any controller, this data should be pass to _Layout.cshtml but how?</p>