Answers for "asp.net core api Self referencing loop detected for property"

C#
0

asp.net core api Self referencing loop detected for property

public class StaffMember
{
    public string FirstName { get; set; }
    public virtual Department Department { get; set; }
}

public class Department
{
    public string DepartmentName { get; set; }
    [JsonIgnore]
    public virtual ICollection StaffMembers { get; set; }
}
Posted by: Guest on September-02-2020

Code answers related to "asp.net core api Self referencing loop detected for property"

C# Answers by Framework

Browse Popular Code Answers by Language