title: how to save byte[] image in custom folder in webapi?
body: <p>i have one model contain image ,i send model from angularjs and get model in webapi ,my method in web api</p>
  
  <pre><code> public IHttpActionResult Post([FromBody]Game model)
      {
          Image img = LoadImage(model.Image);
          Game game = model;
          _repository.Add&lt;Game&gt;(game);
          return Ok();
      }
  
   public Image LoadImage(string imageName)
      {
          string[] str = imageName.Split(',');
          byte[] bytes = Convert.FromBase64String(str[1]);   
          Image image;
          using (MemoryStream ms = new MemoryStream(bytes))
          {
              image = Image.FromStream(ms);
          }
          return image;
      }
  </code></pre>
  
  <p>but this code just return base64 to image,i want save jpg on custom folder in project</p>