title: Using FilePathResult for returning filestream to UI in mvc
body: <p>I have a Action in controller as </p>
  
  <pre><code>public ActionResult Download()    
  { 
      return File(FileStream, "application/octet-stream", fileName); 
  }
  </code></pre>
  
  <p>If I want to use <strong>FilePathresult</strong> as:</p>
  
  <pre><code>public FilePathResult Download()
  { 
      return File(FileStream, "application/octet-stream", fileName);
  }
  </code></pre>
  
  <p>can I call the <code>Download()</code> on click of a button like this </p>
  
  <pre><code>@Html.ActionLink("FileDownload", "Download", new { file = item.FileName, GuID = item.DocumentGuID }) /text).Width(10); 
  </code></pre>
  
  <p>Also is the implementation of <code>Download()</code> is correct in the second instance i.e.,in                          </p>
  
  <pre><code>public FilePathResult Download()
  </code></pre>
  
  <p>?</p>