Can't post data to api with private setter


#1

public class SyllabusDto
{

    public Guid Id { get; }
    public string Name { get; }
    public Guid TradeId { get; }
    public Guid TradeLevelId { get; }
    public string Languages { get; }
    public string SyllabusUrl { get; }
    public string TestPlanUrl { get; }
    public string DevelopmentOfficer { get; }
    public string Manager { get; }
    public DateTime ActiveDate { get; }

    public SyllabusDto() { }

    [JsonConstructor]
    public SyllabusDto(Guid id, string name, Guid tradeId, Guid levelId,
       string languages, string syllabusUrl, string testPlanUrl,
       string devOfficer, string manager, DateTime activeDate) 
    {
        Id = id;
        Name = name;
        TradeId = tradeId;
        TradeLevelId = levelId;
        Languages = languages;
        SyllabusUrl = syllabusUrl;
        TestPlanUrl = testPlanUrl;
        DevelopmentOfficer = devOfficer;
        Manager = manager;
        ActiveDate = activeDate;
    }