title: How to get file from FileStremResult object in Asp.Net MVC Web application?
body: <p>I have Asp.Net MVC Web application with form. When I submit form app runs method:</p>
  
  <pre><code>[HttpPost]
  public ActionResult MyMethod(MyViewModel model)
  {
      FileStreamResult document = CreateDocument(model);
      return document;
  } 
  </code></pre>
  
  <p>And browser opens generated file (PDF) in the same tab.
  I'm doesn't want to open this file, instead I want to download it to disk.
  How to implement this action?</p>