Marmot
Marmot
CC#
Created by Marmot on 1/8/2023 in #help
❔ Serialization Posting Issues
NM. I got it needed to nullable the collection.
public virtual ICollection<CustomerClientDTO> CustomerClients { get; set; }
public virtual ICollection<CustomerClientDTO> CustomerClients { get; set; }
and change to
public virtual ICollection<CustomerClientDTO>? CustomerClients { get; set; }
public virtual ICollection<CustomerClientDTO>? CustomerClients { get; set; }
3 replies