title: No parameterless constructor defined for this object error when using HttpPost in F# mvc 5
body: <p>Using the <a href="https://visualstudiogallery.msdn.microsoft.com/39ae8dec-d11a-4ac9-974e-be0fdadec71b" rel="nofollow">F# MVC 5 Visual Studio extension</a> and it works perfect for GET requests. However, I'm getting a <code>No parameterless constructor defined for this object</code> error when trying to perform a <code>POST</code>.</p>
  
  <p>Here's the method in the <code>HomeController</code>:</p>
  
  <pre><code>[&lt;HttpPost&gt;] 
  member this.Edit product =
      Products.updateProduct product
  
      this.RedirectToAction("Index")
  </code></pre>
  
  <p>Here's the <code>Product</code> type it's using where I guess the problem is originating:</p>
  
  <pre><code>type Product = {
    ProductId: int
    ProductName: string
    ProductCount: int
    ProductPrice: string
  }
  </code></pre>
  
  <p>Is it possible to fix this within the type or is there something else I'm missing?</p>