title: ASP.NET MVC image from byte array
body: <p>currently I have a byte array representing my Image in my ViewModel. I display it with the following code:</p>
  
  <pre><code>&lt;img src="@String.Format("data:image/gif;base64,{0}", Convert.ToBase64String(Model.Image))" /&gt;
  </code></pre>
  
  <p>Now I don't want to have a Base64 String in my Source file, but rather a link to a image. Like:</p>
  
  <pre><code>&lt;img src="Images/" + Model.Id"/&gt;
  </code></pre>
  
  <p>which would return a Image. </p>
  
  <p>How do I write such a method to return a Image link?</p>