title: Error: Each parameter in constructor must bind to an object property or field on deserialization
body: <p>i'm trying to send data to save it in my db, basic, so i send a model to my controller, and i get this error:</p>
  <p>&quot;Each parameter in constructor 'Void .ctor(SmgApi.Models.Entity.EquipmentEntity)' on type 'SmgApi.Models.Dto.EquipementDto' must bind to an object property or field on deserialization. Each parameter name must match with a property or field on the object. The match can be case-insensitive.&quot;</p>
  <p>but i don't deserialize anything, i don't understand.
  my controller :</p>
  <pre><code>[HttpPost]
  public async Task&lt;IActionResult&gt; UpdateEquipment(EquipementDto equipment)
       {
            return Ok(await _equipmentRepository.UpdateEquipment(new EquipmentEntity(equipment)));
       }
  </code></pre>
  <p>EquipmentDto:</p>
  <pre><code>public class EquipementDto
      {
          [Required]
          public string Id { get; set; }
          public List&lt;PropertyDto&gt; Properties { get; set; }
  
          [Required]
          public string Type { get; set; }
          public bool isInPalette { get; set; }
          public EquipementDto(EquipmentEntity equipment)
          {
              if (equipment == null)
                  return;
  
              this.Id = equipment.Id;
              this.Type = equipment.Type;
              this.isInPalette = equipment.IsInPalette;
              this.Properties = equipment.Properties.Select(x =&gt; new PropertyDto(x)).ToList();
          }
      }
  </code></pre>
  <p>my Equipment interface in front:</p>
  <pre><code>export interface Equipment {
    id: string;
    type: Type;
    isInPalette: boolean;
    properties: Array&lt;Property&gt;;
  }
  </code></pre>
  <p>my request:</p>
  <pre><code>private equipmentUrl: string = environment.apiUrl + '/equipment';
  
    constructor(private http: HttpClient) {}
  
    public saveEquipment(equipment: Equipment): Observable&lt;Equipment&gt; {
      return this.http.post&lt;Equipment&gt;(this.equipmentUrl, equipment);
    }
  </code></pre>
  <p>Any ideas on what I'm doing wrong?</p>