how to convert list obj to client.PostAsJsonAsync
My xml
<ListCustomer xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="tns:Chapter[1]">
<item xsi:type="tns:Chapter">
<custname xsi:type="xsd:string">sakutara</custname>
<gender xsi:type="xsd:string">nam</gender>
<dob xsi:type="xsd:string">21/06/1991</dob>
</item>
</ListCustomer>
My class model
public class item
{
public string custname { get; set; }
public string gender { get; set; }
public string dob { get; set; }
}
public class ListCustomer
{
public List<item> item { get; set; }
}
help me please ??