title: How to create an instance of HttpPostedFileBase(or its inherited type)
body: <p>Currently I have a <code>byte[]</code> that contains all the data of an image file, just want to build an instance of <code>HttpPostedFileBase</code> so that I can use an existing method, instead of creating a new overload one.</p>
  
  <pre><code>public ActionResult Save(HttpPostedFileBase file)
  
  public ActionResult Save(byte[] data)
  {
      //Hope I can construct an instance of HttpPostedFileBase here and then
      return Save(file);
  
      //instead of writing a lot of similar codes
  }
  </code></pre>