title: how to save a file in MVC4?
body: <p>I am building an MVC 4 application.  In my action method I am creating a pdf and it returns me the binary of it.
  How can I save it to a file on the server?</p>
  
  <pre><code> var  pdfResult = new ActionAsPdf("Cruise1_option1", new { emailId = emailId }) { FileName = "Test.pdf", PageSize = Rotativa.Options.Size.A4 };
   //convert the return file to binary
   var binary = pdfResult.BuildPdf(this.ControllerContext);
  </code></pre>
  
  <p>how do i use the binary to save it into a file?</p>
  
  <p>Thanks</p>